Guest User

Untitled

a guest
Dec 9th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. myElem :: Eq a => a -> [a] -> Bool
  2. myElem _ [] = False
  3. myElem x (y:ys) = x == y || myElem x ys
Add Comment
Please, Sign In to add comment