Package

org.atnos

origami

Permalink

package origami

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. origami
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Aux[M[_], A, B, S1] = Fold[M, A, B] { type S = S1 }

    Permalink

    alias for a Fold exposing it state type

  2. trait Fold[M[_], A, B] extends AnyRef

    Permalink

    A Fold is a "left fold" over a data structure with:

    A Fold is a "left fold" over a data structure with:

    • a 'start' value
    • a 'fold' method to accumulate state
    • an 'end' method to finalize the result

    Those 3 methods use a monad for effects

  3. trait FoldCreation extends AnyRef

    Permalink

    Creation methods for folds

  4. trait FoldId[A, U] extends Fold[Id, A, U]

    Permalink

    alias for a non-effectful Fold

  5. trait FoldImplicits extends AnyRef

    Permalink
  6. type FoldState[A, B] = Fold[Id, A, B] { type S = B }

    Permalink

    alias for a non-effectful Fold where the state type is U

  7. type Sink[M[_], A] = Fold[M, A, Unit]

    Permalink

    alias for a Fold sinking its last value

Value Members

  1. object Fold extends FoldImplicits

    Permalink
  2. object FoldCreation extends FoldCreation

    Permalink
  3. object FoldId extends FoldImplicits

    Permalink
  4. object fold extends FoldCreation with FoldImplicits

    Permalink
  5. package syntax

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped