ThesaHelp: ACM references m-z
Topic: curried functions
| |
Reference
Marlow, S., Jones, S.P.,
"Making a fast curry: Push/enter vs. eval/apply for higher-order languages",
ICFP'04 Proceedings of the Ninth ACM SIGPLAN International Conference on Functional Programming, Snowbird, Utah, USA, September 2004, ACM SIGPLAN, pp. 4-15.
Google
Quotations
4 ;;Quote: the push/enter model of the curry operator queries the stack for insufficient arguments; if so, it returns a curried function; otherwise returns a regular function
| 4 ;;Quote: the eval/apply model of the curry operator evaluates the function and then applies it; if there are insuffient arguments, it returns the closure
| 4 ;;Quote: for currying, prefer the eval/apply model over push/enter; similar performance with simpler optimization and runtime; push/enter more elegant
|
Related Topics
ThesaHelp: ACM references m-z (280 items)
Topic: curried functions (14 items)
|