Pythonic FP - FP Tools

PyPI project pythonic.fptools.

Pythonic FP - Functional Programming Tools

Tools to aid with functional programming in Python yet still endeavoring to remain Pythonic.

  • Subclassable Boolean datatype (module pythonic_fp.fptools.bool)

  • Functions as first class objects (module pythonic_fp.fptools.function)

  • Lazy (non-strict) function evaluation (module pythonic_fp.fptools.lazy)

  • Singletons (module pythonic_fp.fptools.singletons)

    • 3 singleton classes representing

      • a missing value (actually missing, not potentially missing)

      • a sentinel values

      • a failed calculation

  • State monad implementation (module pythonic_fp.fptools.state)

    • pure FP handling of state (the state monad)

    • Classic FP implementation

      • the monad encapsulates a state transformation, not a “state”

Part of of the pythonic-fp namespace projects.

Getting Started

Getting Started

Getting started with the PyPI pythonic-fp.fptools project.

PyPI Releases

Documentation for pythonic-fp.fptools PyPI releases.

Documentation

Programming API:

Package pythonic_fp.fptools

For a proposed PyPI pythonic-fp.queues project v4.0.1 release.

CHANGELOG:

Changelog for the pythonic-fp fptools PyPI project.