Brillo.Data.Quad
data Quad Source #
Represents a Quadrant in the 2D plane.
Constructors
North West
North East
South West
South East
Defined in Brillo.Data.Quad
Methods
succ :: Quad -> Quad #
pred :: Quad -> Quad #
toEnum :: Int -> Quad #
fromEnum :: Quad -> Int #
enumFrom :: Quad -> [Quad] #
enumFromThen :: Quad -> Quad -> [Quad] #
enumFromTo :: Quad -> Quad -> [Quad] #
enumFromThenTo :: Quad -> Quad -> Quad -> [Quad] #
showsPrec :: Int -> Quad -> ShowS #
show :: Quad -> String #
showList :: [Quad] -> ShowS #
(==) :: Quad -> Quad -> Bool #
(/=) :: Quad -> Quad -> Bool #
allQuads :: [Quad] Source #
A list of all quadrants. Same as [NW .. SE].
[NW .. SE]