Elgot

dev.constructive.eo.schemes.zoo.Elgot
See theElgot companion class
object Elgot

Attributes

Companion
class
Source
Elgot.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Elgot.type

Members list

Value members

Concrete methods

def apply[F[_], A, B](coalg: A => Either[B, F[A]], alg: F[B] => B)(using Traverse[F]): Elgot[A, B]

The short-circuit refold A => B, Traverse[F] only. An all-Right coalg degenerates to Hylo. Stack-safe.

The short-circuit refold A => B, Traverse[F] only. An all-Right coalg degenerates to Hylo. Stack-safe.

Attributes

Source
Elgot.scala