Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
type NumberOfShips = Int Source #
data Orientation Source #
Instances
Eq Orientation Source # | |
Defined in Combinatorics.Battleship (==) :: Orientation -> Orientation -> Bool # (/=) :: Orientation -> Orientation -> Bool # | |
Ord Orientation Source # | |
Defined in Combinatorics.Battleship compare :: Orientation -> Orientation -> Ordering # (<) :: Orientation -> Orientation -> Bool # (<=) :: Orientation -> Orientation -> Bool # (>) :: Orientation -> Orientation -> Bool # (>=) :: Orientation -> Orientation -> Bool # max :: Orientation -> Orientation -> Orientation # min :: Orientation -> Orientation -> Orientation # | |
Show Orientation Source # | |
Defined in Combinatorics.Battleship showsPrec :: Int -> Orientation -> ShowS # show :: Orientation -> String # showList :: [Orientation] -> ShowS # |