]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Face.hs
Add bang patterns to the definition of Face (Ben Lippmeier).
[spline3.git] / src / Face.hs
index 96092609fc55f99cc86459ebf787f26594efff1f..bc316a72cee9ae4eb815424b2ccbfe8705316911 100644 (file)
@@ -7,10 +7,10 @@ where
 import Point
 import ThreeDimensional
 
-data Face = Face { v0 :: Point,
-                   v1 :: Point,
-                   v2 :: Point,
-                   v3 :: Point }
+data Face = Face { v0 :: !Point,
+                   v1 :: !Point,
+                   v2 :: !Point,
+                   v3 :: !Point }
           deriving (Eq)
 
 instance Show Face where