RightFold

org.atnos.eff.RightFold
trait RightFold[A, B]

support trait for folding values while possibly keeping some internal state

Attributes

Source
RightFold.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type S

Attributes

Source
RightFold.scala

Value members

Abstract methods

def finalize(s: S): B

Attributes

Source
RightFold.scala
def fold(a: A, s: S): S

Attributes

Source
RightFold.scala

Abstract fields

val init: S

Attributes

Source
RightFold.scala