func.eh
Functional transformations. More...
Functions
Description
This header defines functional transformations.
Partial function application
The
curry function returns function with the first
argument already applied. The type transformation is the following:
(type1,type2,...,typeN):rettype => (type2,...,typeN):rettype
(type1,type2,...,typeN) => (type2,...,typeN)
|
For example:
Function details
Applies first argument to the function returning function with less arguments.
The function being transformed must accept at least one argument. Actual returning type is
calculated from the function being curried.