mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
Changed 'calls
' to 'applies' before someone else does
This commit is contained in:
parent
94bd7fc1ee
commit
d92508a4cb
@ -245,7 +245,7 @@ case args of
|
||||
_ -> putStrLn "bad args"
|
||||
|
||||
-- Haskell doesn't have loops because it uses recursion instead.
|
||||
-- map calls a function over every element in an array
|
||||
-- map applies a function over every element in an array
|
||||
|
||||
map (*2) [1..5] -- [2, 4, 6, 8, 10]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user