X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FPoint.hs;h=004b2e4498f99920971b9f36a2d3b6aa8d32dc01;hb=0b3152a88d2fa4a7c75f29a2859c31ef23d27bf3;hp=0e29d596e583786c99ca16e7a2922db4a616fdef;hpb=7e59859d69d9c5bbe5d654566adea71265447756;p=spline3.git diff --git a/src/Point.hs b/src/Point.hs index 0e29d59..004b2e4 100644 --- a/src/Point.hs +++ b/src/Point.hs @@ -6,7 +6,7 @@ module Point ( scale ) where -import Test.QuickCheck ( Arbitrary(..) ) +import Test.Tasty.QuickCheck ( Arbitrary( arbitrary ) ) -- | Represents a point in three dimensions. We use a custom type (as @@ -32,7 +32,7 @@ instance Num Point where fromInteger n = Point coord coord coord where - coord = fromInteger n + coord = fromInteger n :: Double -- | Scale a point by a constant.