Composer

fpylib.composer.compose(*funcs: Callable[[...], Any]) Callable[[...], Any][source]

Composes two or more functions.

Funcs

The functions to be composed.

Returns

The composition of the two functions.

fpylib.composer.parallelize(*funcs: Callable[[...], Any]) Callable[[...], Tuple][source]

Decorator to make a function parallelizable.

Func

The function to be parallelizable.

Returns

A function that returns the result of the function.