Trait/Object

org.specs2.control.origami

Folds

Related Docs: object Folds | package origami

Permalink

trait Folds extends AnyRef

Typeclass instances and creation methods for folds

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bracket[R, A, C](open: Eff[R, C])(step: (C, A) ⇒ Eff[R, C])(close: (C) ⇒ Eff[R, Unit])(implicit arg0: eff.all._Safe[R]): Fold[R, A, Unit]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def fromFoldLeft[R, A, B](b: B)(f: (B, A) ⇒ B): Fold[R, A, B] { type S = B }

    Permalink

    returns

    a fold from arguments of a fold left

  11. def fromMonoidMap[R, A, M](f: (A) ⇒ M)(implicit arg0: Monoid[M]): Fold[R, A, M] { type S = M }

    Permalink

    returns

    a fold which uses a Monoid to accumulate elements

  12. def fromSink[R, A](action: (A) ⇒ Eff[R, Unit]): Fold[R, A, Unit]

    Permalink
  13. def fromStart[R, A, S1](action: Eff[R, S1]): Fold[R, A, S1] { type S = S1 }

    Permalink

    returns

    a fold with just a start action

  14. def fromStateEval[R, A, B, C](state: (A) ⇒ State[B, C])(init: B): Fold[R, A, Option[C]]

    Permalink

    returns

    a fold for the evaluation of a State object

  15. def fromStateExec[R, A, B, C](state: (A) ⇒ State[B, C])(init: B): Fold[R, A, B]

    Permalink

    returns

    a fold for the execution of a State object

  16. def fromStateRun[R, A, B, C](state: (A) ⇒ State[B, C])(init: B): Fold[R, A, (B, Option[C])] { type S = (B, Option[C]) }

    Permalink

    returns

    a fold from running a State object

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def list[A]: Fold[NoFx, A, List[A]]

    Permalink

    returns

    a Fold which simply accumulates elements into a List

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped