com.thoughtworks.each

Monadic

object Monadic

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Monadic
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final class AnnotationBundle extends Preprocessor

  2. final case class EachOps[M0[_], A0](underlying: M0[A0]) extends Product with Serializable

    The temporary wrapper that contains the each method.

  3. type MonadThrowable[F[_]] = MonadError[F, Throwable]

    A scalaz.Monad that supports exception handling.

    A scalaz.Monad that supports exception handling.

    Note this is a simplified version of scalaz.MonadError.

  4. implicit final class ToMonadicLoopOps[F[_], A] extends AnyRef

    Annotations
    @inline()
  5. final class catchIoMonadic[F[_]] extends Annotation with StaticAnnotation

    Annotations
    @compileTimeOnly( ... )
  6. final class monadic[F[_]] extends Annotation with StaticAnnotation

    Annotations
    @compileTimeOnly( ... )
  7. final class throwableMonadic[F[_]] extends Annotation with StaticAnnotation

    Annotations
    @compileTimeOnly( ... )
  8. 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.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object AnnotationBundle

  7. object EachOps extends Serializable

  8. object MonadicLoop

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def catchIoMonadic[F[_]](body: AnyRef)(implicit monad: MonadCatchIO[F]): F[body.type]

    [use case] Captures all the result in the body and converts them into a F.

    [use case]

    Captures all the result in the body and converts them into a F.

    Note that body may contain any try / catch / throw expressions.

    F

    the higher kinded type of the monadic expression.

    body

    the imperative style expressions that will be transform to monadic style.

    monad

    the monad that executes expressions in body.

    returns

    Full Signature

    def catchIoMonadic[F[_]]: MonadicFactory[MonadCatchIO, F]

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit def eitherTMonadThrowable[F[_], G[_[_], _]](implicit F0: Monad[[y]G[F, y]]): MonadThrowable[[x]EitherT[[y]G[F, y], Throwable, x]]

    Annotations
    @inline()
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. implicit def getUnderlying[F[_], A](monadicLoop: MonadicLoop[F, A]): F[A]

    Annotations
    @inline()
  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. implicit def lazyEitherTMonadThrowable[F[_], G[_[_], _]](implicit F0: Monad[[y]G[F, y]]): MonadThrowable[[x]LazyEitherT[[y]G[F, y], Throwable, x]]

    Annotations
    @inline()
  21. def monadic[F[_]](body: AnyRef)(implicit monad: Monad[F]): F[body.type]

    [use case] Captures all the result in the body and converts them into a F.

    [use case]

    Captures all the result in the body and converts them into a F.

    Note that body must not contain any try / catch / throw expressions.

    F

    the higher kinded type of the monadic expression.

    body

    the imperative style expressions that will be transform to monadic style.

    monad

    the monad that executes expressions in body.

    returns

    Full Signature

    def monadic[F[_]]: MonadicFactory[Monad, F]

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

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  26. def throwableMonadic[F[_]](body: AnyRef)(implicit monad: MonadThrowable[F]): F[body.type]

    [use case] Captures all the result in the body and converts them into a F.

    [use case]

    Captures all the result in the body and converts them into a F.

    Note that body may contain any try / catch / throw expressions.

    F

    the higher kinded type of the monadic expression.

    body

    the imperative style expressions that will be transform to monadic style.

    monad

    the monad that executes expressions in body.

    returns

    Full Signature

    def throwableMonadic[F[_]]: MonadicFactory[MonadThrowable, F]

  27. implicit def toEachOps[F[_], A](v: F[A]): EachOps[F, A]

    An implicit view to enable .each for a monadic value.

    An implicit view to enable .each for a monadic value.

    v

    the monadic value.

    returns

    the temporary wrapper that contains the each method.

    Annotations
    @inline()
  28. implicit def toEachOpsUnapply[FA](v: FA)(implicit F0: Unapply[Bind, FA]): EachOps[M, A]

    An implicit view to enable .each for a monadic value.

    An implicit view to enable .each for a monadic value.

    FA

    type of the monadic value.

    v

    the monadic value.

    F0

    a helper to infer types.

    returns

    the temporary wrapper that contains the each method.

    Annotations
    @inline()
  29. implicit def toMonadicLoopOpsUnapply[FA](v: FA)(implicit F0: Unapply[Foldable, FA]): ToMonadicLoopOps[M, A]

    An implicit view to enable for yield comprehension for a monadic value.

    An implicit view to enable for yield comprehension for a monadic value.

    FA

    type of the monadic value.

    v

    the monadic value.

    F0

    a helper to infer types.

    returns

    the temporary wrapper that contains the each method.

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped