Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeList/Map.hs
module Prelude where map :: (a -> b) -> [a] -> [b] map f [] = [] map f (x:xs) = f x : map f xs