fork download
  1. map_ f = foldr ((:) . f) []
  2. main = print (map_ (+1) [1, 2, 3, 4])
  3.  
Success #stdin #stdout 0s 4652KB
stdin
Standard input is empty
stdout
[2,3,4,5]