Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. ; waps
  2. use util.match
  3. def mymatch \x =>
  4. match x
  5. | 5 -> "good"
  6. | _ -> "baad"
  7.  
  8. def lamatch
  9. matchfun
  10. | 5 -> "good"
  11. | _ -> "baad"
  12.  
  13. print $ lamatch 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement