rfc:currying

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
rfc:currying [2011/06/05 23:10] – created lstrojnyrfc:currying [2011/06/05 23:37] – [References] lstrojny
Line 62: Line 62:
 ===== Proposal ===== ===== Proposal =====
  
-PHP has a long standing tradition of not providing a purists implementation of a certain feature. This is why I propose currying as a syntax enhancement in a way I feel even people new to functional'ish programming can understand what's going on.+PHP has a long standing tradition of not providing a purists implementation of a certain feature. This is why I propose currying as a syntax enhancement in a way I feel even people new to functional'ish programming can understand what's going on. The proposed syntax is not strictly currying but partial function application.
  
 The words example from aboe with currying as a syntax: The words example from aboe with currying as a syntax:
Line 101: Line 101:
 ==== References ==== ==== References ====
  
-http://en.wikipedia.org/wiki/Currying+  * Wikipedia: http://en.wikipedia.org/wiki/Currying 
 +  * PEP-0309: http://www.python.org/dev/peps/pep-0309/
  
 ===== Changelog ===== ===== Changelog =====
   * Initial draft   * Initial draft
  
rfc/currying.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1