Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- datatype directions = North | South | East | West
- fun turn d = case d of
- North => East
- |East => South
- |South => West
- turn West
- uncaught exception Match [nonexhaustive match failure]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement