Content deleted Content added
mNo edit summary |
Give emphasis that the example is written in Haskell |
||
Line 7:
Then calling (map square [1,2,3,4,5]) will return [1,4,9,16,25].
Map itself may be defined recursively,
map f [] = []
|
mNo edit summary |
Give emphasis that the example is written in Haskell |
||
Line 7:
Then calling (map square [1,2,3,4,5]) will return [1,4,9,16,25].
Map itself may be defined recursively,
map f [] = []
|