haskell-karel/Internal/Types.hs
Matej Focko 170a64ef77
Major refactor
- Use internal modules for helper functions
- Clean up API
- Add `facing` to Karel and `notFacing` to SuperKarel
- Rename functions for creating world and Karel

Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-11-08 19:18:42 +01:00

5 lines
No EOL
124 B
Haskell

module Internal.Types where
type Vector = (Int, Int)
data Direction = North | East | South | West deriving (Show, Eq, Ord)