]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/Cube.hs
src/{Cube,Tetrahedron}.hs: disable incomplete pattern warnings via pragmas.
[spline3.git] / src / Cube.hs
index 5a70afc70b5b4c02a0906e4c42620c7051cfb28e..552b141e2a2f597ce7669baa9e181259e2979a96 100644 (file)
@@ -1,3 +1,8 @@
+-- The "tetrahedron" function pattern matches on the integers zero
+-- through twenty-three, but doesn't handle the "otherwise" case, for
+-- performance reasons.
+{-# OPTIONS_GHC -Wno-incomplete-patterns #-}
+
 module Cube (
   Cube(..),
   cube_properties,
@@ -24,7 +29,8 @@ import Test.Tasty.QuickCheck (
   choose,
   testProperty )
 import Cardinal (
-  Cardinal(..),
+  Cardinal(F, B, L, R, D, T, FL, FR, FD, FT,
+           BL, BR, BD, BT, LD, LT, RD, RT, I),
   ccwx,
   ccwy,
   ccwz,