pyeffects

Side-effect handling monads

Implements functional types for handling side-effects in Python with Either, Option, Try, and Future monads.

Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future.

GitHub

31 stars
3 watching
6 forks
Language: Python
last commit: 5 months ago
eithereither-monadfuturefuture-monadfutureshacktoberfesthacktoberfest-acceptedhacktoberfest2023monadmonadsoptionoption-monadoption-typepythonpython27python3trytry-catchtry-monad

Related projects:

Repository Description Stars
jasondelaat/pymonad An implementation of monads and related data structures in Python. 199
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
purescript/purescript-effect Provides a way to handle native side effects in PureScript programming 53
dschalk/monads-for-functional-javascript A collection of functional programming abstractions for handling uncertainty and side effects in JavaScript 2
dorchard/effect-monad Provides fine-grained reasoning about effects in Haskell computations 98
sjsyrek/maryamyriameliamurphies.js A Haskell-style library of morphisms in ES2015 JavaScript for functional programming and monads 181
crowdhailer/ok Provides elegant error handling and result monad support in Elixir 603
mat1g3r/option A library that provides Rust-like Option and Result types in Python to handle optional and error values in a more type-safe and expressive way. 85
dry-python/classes Typed polymorphism primitives for Python business logic 672
prettywood/future-typing Library providing type hinting generics support for Python 3.6 to 3.8 and 3.9+ for union types and standard collections. 19
cyrusofeden/towel A library that provides a simple Maybe monad implementation in Elixir. 99
phelmkamp/valor Provides Go types for optionals and results with values or errors. 17
rustedpy/maybe Provides an Option type inspired by Rust for Python 3 69
atnos-org/eff A library for working with effects in functional programming using a modular and extensible approach 581
haskell/mtl A collection of monad classes and transformers that enable functional programming in Haskell 367