Logo

Programming-Idioms

History of Idiom 37 > diff from v5 to v6

Edit summary for version 6 by :

Version 5

2015-08-22, 10:11:15

Version 6

2015-08-23, 11:05:52

Idiom #37 Currying

Technique of transforming a function that takes multiple arguments and returning a function for which some of the arguments are preset.

Idiom #37 Currying

Technique of transforming a function that takes multiple arguments and returning a function for which some of the arguments are preset.

Imports
	
Code
curry(f(a, b), a) => (b) => f(a, b);
Comments bubble
Simple currying of binary funtion.