You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

6 lines
380 B

  1. So... now that we know what currying is, let's summarize:
  2. \begin{itemizep}
  3. \item all functions in haskell have only one argument (strictly speaking)
  4. \item if a function seems to have multiple arguments... currying is used behind the scenes to evaluate it
  5. \item currying also allows us to do partial function application (which is important for function composition)
  6. \end{itemizep}