Unfolder

zio.prelude.recursive.Unfolder
See theUnfolder companion object
sealed trait Unfolder[Case[_], A] extends A => Case[A]

Attributes

Companion
object
Graph
Supertypes
trait A => Case[A]
class Object
trait Matchable
class Any
Self type
Unfolder[Case, A]

Members list

Value members

Concrete methods

def zip[B](that: Unfolder[Case, B])(implicit both: AssociativeBoth[Case]): Unfolder[Case, (A, B)]

Inherited methods

def andThen[A](g: (Case[A]) => A): A => A

Attributes

Inherited from:
Function1
def apply(v1: A): Case[A]

Attributes

Inherited from:
Function1
def compose[A](g: A => A): A => Case[A]

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1