Skip to content

Python functional programming library. Contains the source code for my PyPI grscheller.fp project.

License

Notifications You must be signed in to change notification settings

grscheller/dtools-fp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer Tools - Pythonic functional programming

Functional programming tools which endeavor to be Pythonic.

This project is part of the Developer Tools for Python dtools. namespace project.

Modules

  • dtools.fp.err_handling
    • monadic tools for handling missing values & unexpected events
  • dtools.fp.function
    • utilities to manipulate and partially apply functions
  • dtools.fp.iterables
    • iteration tools implemented in Python
  • dtools.fp.lazy
    • lazy (non-strict) function evaluation
  • dtools.fp.nothingness
    • singleton classes representing either a
      • missing value
      • sentinel value
      • failed calculation
  • dtools.fp.state
    • pure FP handling of state (the state monad)

Benefits of FP

  • improved composability
  • avoid exception driven code paths
  • data sharing becomes trivial due to immutability

About

Python functional programming library. Contains the source code for my PyPI grscheller.fp project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages