Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1006 Bytes

monads.rst

File metadata and controls

50 lines (28 loc) · 1006 Bytes

fp.monads --- A collection of monads

fp.monads

Eric Moritz <eric@themoritzfamily.com>

0.1

the fp.monads module provides a collection of monads to use with your Python code.

Maybe

fp.monads provides an implementation of the Maybe monad.

fp.monads.maybe.Maybe

Either

fp.monads provides an implementation of the Either monad.

fp.monads.either.Either

IO

fp.monads provides an implementation of the IO monad.

fp.monads.iomonad.IO

Base Monad classes

Use the following classes for defining your own monads.

fp.monads.monad.Monad

fp.monads.monad.MonadPlus

mzero

Zero results