Monad
funstruct.typeclasses.monad
Monad — sequential computation where each step depends on the previous.
bind: F[A] → (A → F[B]) → F[B]
Monad
Bases: Applicative
bind (flatMap), with map and ap derived.
Source code in funstruct/typeclasses/monad.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | |