monix.types
A shim for a MonadRec type-class, to be supplied by / translated to libraries such as Cats or Scalaz.
MonadRec
This type-class represents monads with a tail-recursive flatMap implementation.
Keeps calling f until a scala.util.Right[B] is returned.
f
scala.util.Right[B]
Based on Phil Freeman's Stack Safety for Free.
A shim for a
MonadRec
type-class, to be supplied by / translated to libraries such as Cats or Scalaz.This type-class represents monads with a tail-recursive flatMap implementation.