Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec memq cle v = function
- [] -> false
- | (c, [])::l -> memq cle v l
- | (c, e::l1)::l when cle = c -> (v = e)||(memq cle v ((c, l1)::l))
- | (c, e::l1)::l -> memq cle v l;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement