ex_list.hs revision 3d3889e0cefcdce9b3f43c53aaa201943ac2e895
funOne :: Eq a => [a] -> [a] -> Bool
myMap :: [a] -> (a -> b) -> [b]
funOne x y = if x == (head x) : (tail y) then True else False
myMap x f = case x of
[] -> []
a : as -> (f a) : myMap as f