case class DescribedComputationT[F[_], A](run: F[LogTreeSyntaxWithoutAnnotations.DescribedComputation[A]]) extends Product with Serializable
Represents a computation of type F[DescribedCompution[A]]
.
Example:
val x: Option[DescribedComputation[Int]] = Some(1 ~> "1") val y: Option[DescribedComputation[Int]] = Some(2 ~> "1") val z: Option[DescribedComputation[Int]] = (for { one <- DescribedComputationT(x) two <- DescribedComputationT(y) res <- DescribedComputationT(Some((one + two) ~> ("1 + 2 =" + _)) } yield res).run
- Self Type
- DescribedComputationT[F, A]
- Alphabetic
- By Inheritance
- DescribedComputationT
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DescribedComputationT(run: F[LogTreeSyntaxWithoutAnnotations.DescribedComputation[A]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def flatMap[B](f: (A) ⇒ DescribedComputationT[F, B])(implicit F: Monad[F]): DescribedComputationT[F, B]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): DescribedComputationT[F, B]
- def mapT[G[_], B](f: (F[LogTreeSyntaxWithoutAnnotations.DescribedComputation[A]]) ⇒ G[LogTreeSyntaxWithoutAnnotations.DescribedComputation[B]]): DescribedComputationT[G, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val run: F[LogTreeSyntaxWithoutAnnotations.DescribedComputation[A]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )