Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Combinatorics.Battleship
Documentation
type NumberOfShips = Int Source #
data Orientation Source #
Constructors
Horizontal | |
Vertical |
Instances
Eq Orientation Source # | |
Defined in Combinatorics.Battleship | |
Ord Orientation Source # | |
Defined in Combinatorics.Battleship Methods 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 Methods showsPrec :: Int -> Orientation -> ShowS # show :: Orientation -> String # showList :: [Orientation] -> ShowS # |