Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
pyfunctor is a Python Functor library that provides classes implementing
lazy evaluation, pipeline operators and block syntax.

An example of usages is following:

    >>> from pyfunctor.functor import *
    >>> f = (Functor(range(10)) >> c_(map)(lambda x: x * 2)
    ...      >> c_(filter)(lambda x: x < 7)
    ...      >> c_(sorted).key(lambda x: -x))
    >>> run(f)  # lazy evaluation(more...)