Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; waps
- use util.match
- def mymatch \x =>
- match x
- | 5 -> "good"
- | _ -> "baad"
- def lamatch
- matchfun
- | 5 -> "good"
- | _ -> "baad"
- print $ lamatch 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement