13 lines
130 B
Haskell
13 lines
130 B
Haskell
|
module Types.Direction where
|
||
|
|
||
|
data Direction
|
||
|
= NE
|
||
|
| E
|
||
|
| SE
|
||
|
| S
|
||
|
| SW
|
||
|
| W
|
||
|
| NW
|
||
|
| N
|
||
|
deriving (Show, Eq, Ord, Enum)
|