Usage¶
How to install the package¶
Install the project into your Python environment:
$ pip install pythonic-fp.fptools
Importing the package¶
Import the functional tools into your code.
from pythonic_fp.fptools.function import swap, negate
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