Skip to content

Instantly share code, notes, and snippets.

@mlaugharn
Last active February 5, 2022 08:29
Show Gist options
  • Save mlaugharn/31656564a35509a17295ae2e7695a068 to your computer and use it in GitHub Desktop.
Save mlaugharn/31656564a35509a17295ae2e7695a068 to your computer and use it in GitHub Desktop.
python fp tools
algebraic data types
- adt
- opeltre/fp
typechecking:
- mypy
- dry-python/returns
- life4/deal
typeclasses:
- python-typeclasses
- dry-python/classes
compositionality / HOFs / better lambdas:
- fnpy/fn.py
- coconut
- dry-python/lambdas
pattern matching:
- 3.10 structural matching
- coconut
partial app.:
- functools
- coconut
- autocurry
data structure optics:
- lenses
monads:
- oslash
functors:
- jax pmap/vmap/xmap
IO:
- raffiot.py
computational graphs / data-structures:
- tree_math
- awkward array
- jraph
pipelines:
- PyFunctional
side-effect containment:
- python-effect/effect
parsers:
- funcparserlib
misc:
- funcy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment