Primitive operations available in Laurel expressions (each constructor is documented individually below).
Equality on composite types uses reference equality for impure types and structural equality for pure ones.
Constructors
Eq : Strata.Laurel.Operation
Equality test. Uses reference equality for impure composite types, structural equality for pure ones.
Neq : Strata.Laurel.Operation
Inequality test.
And : Strata.Laurel.Operation
Logical conjunction (eager).
Or : Strata.Laurel.Operation
Logical disjunction (eager).
Not : Strata.Laurel.Operation
Logical negation.
Implies : Strata.Laurel.Operation
Logical implication (short-circuit).
AndThen : Strata.Laurel.Operation
Short-circuit logical conjunction. Only evaluates the second argument if the first is true.
OrElse : Strata.Laurel.Operation
Short-circuit logical disjunction. Only evaluates the second argument if the first is false.
Neg : Strata.Laurel.Operation
Arithmetic negation. Works on Int and Float64.
Add : Strata.Laurel.Operation
Addition. Works on Int and Float64.
Sub : Strata.Laurel.Operation
Subtraction. Works on Int and Float64.
Mul : Strata.Laurel.Operation
Multiplication. Works on Int and Float64.
Div : Strata.Laurel.Operation
Euclidean division. Works on Int and Float64.
Mod : Strata.Laurel.Operation
Euclidean modulus. Works on Int and Float64.
DivT : Strata.Laurel.Operation
Truncation division.
ModT : Strata.Laurel.Operation
Truncation modulus.
Lt : Strata.Laurel.Operation
Less than. Works on Int and Real.
Leq : Strata.Laurel.Operation
Less than or equal. Works on Int and Real.
Gt : Strata.Laurel.Operation
Greater than. Works on Int and Real.
Geq : Strata.Laurel.Operation
Greater than or equal. Works on Int and Real.
StrConcat : Strata.Laurel.Operation
String concatenation.