Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. datatype directions = North | South | East | West
  2.  
  3. fun turn d = case d of
  4. North => East
  5. |East => South
  6. |South => West
  7.  
  8. turn West
  9.  
  10. uncaught exception Match [nonexhaustive match failure]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement