mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #816 from hobozo/patch-1
Update haskell.html.markdown
This commit is contained in:
commit
4afe0d8ce0
@ -171,8 +171,8 @@ foldl1 (\acc x -> acc + x) [1..5] -- 15
|
||||
-- 4. More functions
|
||||
----------------------------------------------------
|
||||
|
||||
-- currying: if you don't pass in all the arguments to a function,
|
||||
-- it gets "curried". That means it returns a function that takes the
|
||||
-- partial application: if you don't pass in all the arguments to a function,
|
||||
-- it gets "partially applied". That means it returns a function that takes the
|
||||
-- rest of the arguments.
|
||||
|
||||
add a b = a + b
|
||||
|
Loading…
Reference in New Issue
Block a user