RightFold

trait RightFold[A, B]

support trait for folding values while possibly keeping some internal state

support trait for folding values while possibly keeping some internal state

class Object
trait Matchable
class Any

Type members

Types

type S

Value members

Abstract methods

def finalize(s: S): B
def fold(a: A, s: S): S

Abstract fields

val init: S