Comment Comment by mwotton well, let's look.map f (h:t) = f h:map f tmap f [] = []member x (h:t) = x == h || member x tmember _ [] = FalseI think the only difference is that you can't match for equality directly in the pattern. parent mwotton 13 years ago
map f (h:t) = f h:map f t
map f [] = []
member x (h:t) = x == h || member x t
member _ [] = False
I think the only difference is that you can't match for equality directly in the pattern.