View difference between Paste ID: i112W3vU and vRfTVFgi
SHOW: | | - or go back to the newest paste.
1-
asdf
1+
mapList :: (Int -> Int) -> List -> List
2
mapList _ [] = []
3
mapList f (x:xs) = f x : map f xs