Namespace: demo

demo

Demo UI5 library which uses ES6 syntax.

Version:
  • 0.0.1
Source:

Methods


<static> curry(f)

Transforms a given (bi)function in curry-enabled function.

Parameters:
Name Type Description
f function

The function to be curried.

Source:
Returns:

The curried function.

Type
function

<static> papply(f, a)

Does a partial application on a function (by supplying its first parameter).

Parameters:
Name Type Description
f function

The function to be applied.

a any

The value for the first parameter of the function.

Source:
Returns:

The resulting function (which has one less parameter).

Type
function

<static> uncurry(f)

Transforms a given curried (bi)function in a regular function.

Parameters:
Name Type Description
f function

The function to be uncurried.

Source:
Returns:

The resulting regular function.

Type
function