package monadic
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class Exec[A](f: () => A) extends WarpAlgebra[A] with Product with Serializable
- case class Measure[A](testId: TestId, f: () => A) extends WarpAlgebra[A] with Product with Serializable
- sealed abstract class WarpAlgebra[+A] extends AnyRef
Algebraic data type (ADT) defining the operations we want to support in WarpScript.
Algebraic data type (ADT) defining the operations we want to support in WarpScript.
Some examples of other familiar constructs represented as ADT:
data List a = Nil | Cons a (List a)
data Tree a = Empty | Leaf a | Node Tree Tree
ADT are well suited for representing abstract syntax trees:
data Expression = Number Int | Add Expression Expression | Minus Expression Expression | Mult Expression Expression | Divide Expression Expression
Created by tomas.mccandless on 7/22/21.
Value Members
- object WarpAlgebra extends WarpLogging