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: about 2 years ago
eithereither-monadfuturefuture-monadfutureshacktoberfesthacktoberfest-acceptedhacktoberfest2023monadmonadsoptionoption-monadoption-typepythonpython27python3trytry-catchtry-monad

Related projects:

RepositoryDescriptionStars
jasondelaat/pymonadAn implementation of monads and related data structures in Python.199
mplanchard/safetywrapTypesafe wrappers for handling errors and absent data in Python44
purescript/purescript-effectProvides a way to handle native side effects in PureScript programming53
dschalk/monads-for-functional-javascriptA collection of functional programming abstractions for handling uncertainty and side effects in JavaScript2
dorchard/effect-monadProvides fine-grained reasoning about effects in Haskell computations98
sjsyrek/maryamyriameliamurphies.jsA Haskell-style library of morphisms in ES2015 JavaScript for functional programming and monads182
crowdhailer/okProvides elegant error handling and result monad support in Elixir603
mat1g3r/optionA 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/classesEnables typed polymorphism and type-safe business logic in Python without inheritance or interfaces.678
prettywood/future-typingLibrary providing type hinting generics support for Python 3.6 to 3.8 and 3.9+ for union types and standard collections.19
phelmkamp/valorProvides Go types for optionals and results with values or errors.17
rustedpy/maybeProvides an Option type inspired by Rust for Python 371
atnos-org/effA library for working with effects in functional programming using a modular and extensible approach581
haskell/mtlA collection of monad classes and transformers that enable functional programming in Haskell364