X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FCardinal.hs;fp=src%2FCardinal.hs;h=9bd8e1df933b592d877d2e1efe810b44d96092ac;hb=00a4dc471c4dc1c48c6012cc897c37d14a2f1644;hp=b911003b7d6cfaedff1f31ba6179208422c6c6b4;hpb=58cf11569acb270995d2de924dda03ef526647e2;p=spline3.git diff --git a/src/Cardinal.hs b/src/Cardinal.hs index b911003..9bd8e1d 100644 --- a/src/Cardinal.hs +++ b/src/Cardinal.hs @@ -1,6 +1,6 @@ -- | The Cardinal module contains the Cardinal data type, representing --- a cardinal direction (one of the 27 directions surrounding the --- center of a cube. In addition to those 27 directions, we also +-- a cardinal direction (one of the 26 directions surrounding the +-- center of a cube. In addition to those 26 directions, we also -- include the interior point and a number of composite types that -- allow us to perform arithmetic on directions. module Cardinal @@ -60,7 +60,7 @@ instance Num Cardinal where fromInteger x = Scalar (fromIntegral x) --- | Like the Num instance, the Fractional instance allows us to +-- | Like the Num instance, the 'Fractional' instance allows us to -- take quotients of directions. instance Fractional Cardinal where x / y = Quotient x y