Package: alexandria

Function curry

Lambda List

curry (function &rest arguments)

Details

Returns a function that applies arguments and the arguments it is called with to function.

Examples

(funcall (curry #'+ 3) 5) => 8    
 

See also