Skip to content

Instantly share code, notes, and snippets.

@visig9
visig9 / pipe.py
Created January 30, 2018 23:28
Minimized pipeline generating function.
def pipe(*functions):
"""Generate a pipeline with multiple functions.
Arguments:
*functions: multiple callables.
Returns:
A composed function.
Examples: