Class/Object

com.thoughtworks.each.Monadic

MonadicLoop

Related Docs: object MonadicLoop | package Monadic

Permalink

final class MonadicLoop[F0[_], A] extends AnyRef

Annotations
@deprecated
Deprecated

(Since version 1.0.1) Use @monadic[X] def f = { ... } instead of monadic[X] { ... }. Note that you can remove .monadicLoop in @monadic methods.

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonadicLoop
  2. AnyRef
  3. Any
Implicitly
  1. by toEachOpsUnapply
  2. by toMonadicLoopOpsUnapply
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonadicLoop(underlying: F0[A])

    Permalink

Type Members

  1. type Element = A

    Permalink
  2. type F[X] = F0[X]

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to any2stringadd[MonadicLoop[F0, A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MonadicLoop[F0, A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to ArrowAssoc[MonadicLoop[F0, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. macro def each: A

    Permalink

    Semantically, returns the result in the monadic value.

    Semantically, returns the result in the monadic value.

    This macro must be inside a monadic or a catchIoMonadic block.

    This is not a real method, thus it will never actually execute. Instead, the call to this method will be transformed to a monadic expression. The actually result is passing as a parameter to some scalaz.Monad#bind and scalaz.Monad#point calls instead of as a return value.

    returns

    the result in the monadic value.

    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to EachOps[M, A] performed by method toEachOpsUnapply in com.thoughtworks.each.Monadic. This conversion will take place only if an implicit value of type Unapply[Bind, MonadicLoop[F0, A]] is in scope.
    Definition Classes
    EachOps
  9. def ensuring(cond: (MonadicLoop[F0, A]) ⇒ Boolean, msg: ⇒ Any): MonadicLoop[F0, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to Ensuring[MonadicLoop[F0, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (MonadicLoop[F0, A]) ⇒ Boolean): MonadicLoop[F0, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to Ensuring[MonadicLoop[F0, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): MonadicLoop[F0, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to Ensuring[MonadicLoop[F0, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): MonadicLoop[F0, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to Ensuring[MonadicLoop[F0, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. macro def filter(f: (A) ⇒ Boolean)(implicit traverse: Traverse[F], monadPlus: MonadPlus[F]): MonadicLoop[F, A]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. macro def flatMap[B](f: (A) ⇒ F[B])(implicit traverse: Traverse[F], bind: Bind[F]): MonadicLoop[F, B]

    Permalink
  18. macro def foreach[U](f: (A) ⇒ U)(implicit foldable: Foldable[F]): Unit

    Permalink
  19. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to StringFormat[MonadicLoop[F0, A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  23. macro def map[B](f: (A) ⇒ B)(implicit traverse: Traverse[F]): MonadicLoop[F, B]

    Permalink
  24. def monadicLoop: MonadicLoop[M, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to ToMonadicLoopOps[M, A] performed by method toMonadicLoopOpsUnapply in com.thoughtworks.each.Monadic. This conversion will take place only if an implicit value of type Unapply[Foldable, MonadicLoop[F0, A]] is in scope.
    Definition Classes
    ToMonadicLoopOps
  25. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. def toFoldableOps(implicit foldable: Foldable[F]): FoldableOps[F0, A]

    Permalink
    Annotations
    @inline()
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def toTraverseOps(implicit traverse: Traverse[F]): TraverseOps[F0, A]

    Permalink
    Annotations
    @inline()
  32. val underlying: F0[A]

    Permalink
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. macro def withFilter(f: (A) ⇒ Boolean)(implicit traverse: Traverse[F], monadPlus: MonadPlus[F]): MonadicLoop[F, A]

    Permalink
  37. def [B](y: B): (MonadicLoop[F0, A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to ArrowAssoc[MonadicLoop[F0, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val underlying: M[A]

    Permalink

    the underlying monadic value.

    the underlying monadic value.

    Implicit information
    This member is added by an implicit conversion from MonadicLoop[F0, A] to EachOps[M, A] performed by method toEachOpsUnapply in com.thoughtworks.each.Monadic. This conversion will take place only if an implicit value of type Unapply[Bind, MonadicLoop[F0, A]] is in scope.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (monadicLoop: EachOps[M, A]).underlying
    Definition Classes
    EachOps

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toEachOpsUnapply from MonadicLoop[F0, A] to EachOps[M, A]

Inherited by implicit conversion toMonadicLoopOpsUnapply from MonadicLoop[F0, A] to ToMonadicLoopOps[M, A]

Inherited by implicit conversion any2stringadd from MonadicLoop[F0, A] to any2stringadd[MonadicLoop[F0, A]]

Inherited by implicit conversion StringFormat from MonadicLoop[F0, A] to StringFormat[MonadicLoop[F0, A]]

Inherited by implicit conversion Ensuring from MonadicLoop[F0, A] to Ensuring[MonadicLoop[F0, A]]

Inherited by implicit conversion ArrowAssoc from MonadicLoop[F0, A] to ArrowAssoc[MonadicLoop[F0, A]]

Ungrouped