DescribedComputationT
treelog.LogTreeSyntaxWithoutAnnotations.DescribedComputationT
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
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
-
Members list
In this article