usage¶
How to installing the module¶
Install the project into your Python environment:
$ pip install pythonic-fp-fptools
Importing the module¶
Import the functional tools into your code.
from pythonic_fp.fptools.function import swap, negate
from pythonic_fp.fptools.function import it
from pythonic_fp.fptools.function import sequenced, partial
from pythonic_fp.fptools.lazy import Lazy
from pythonic_fp.fptools.lazy import lazy
from pythonic_fp.fptools.lazy import real_lazy
from pythonic_fp.fptools.maybe import MayBe
from pythonic_fp.fptools.either import Either, LEFT, RIGHT
from pythonic_fp.fptools.state import State
Note
Maintainer is considering moving it
to the iterables package.