Drevsh

Untitled

Feb 1st, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A2)a)
  2.  
  3. mapList :: (Int -> Int) -> List -> List
  4. mapList _ [] = []
  5. mapList f (x:xs) = f x : map f xs
Advertisement
Add Comment
Please, Sign In to add comment