For every function defined in the operator module there exists a special operator syntax which can be used to call the function using an infix operator.
liftable add(lhs: strict Int, rhs: strict Int): Int
Operator usage: a + b
Returns the sum of two integers
liftable and(lhs: lazy Bool, rhs: lazy Bool): Bool
Operator usage: a && b
Boolean conjunction
liftable bitand(lhs: strict Int, rhs: strict Int): Int
Operator usage: a & b
Bitwise AND on integers
liftable bitflip(arg: strict Int): Int
Operator usage: ~a
Bitflip on integers
liftable bitor(lhs: strict Int, rhs: strict Int): Int
Operator usage: a | b
Bitwise OR on integers
liftable bitxor(lhs: strict Int, rhs: strict Int): Int
Operator usage: a ^ b
Bitwise XOR on integers
liftable div(lhs: strict Int, rhs: strict Int): Int
Operator usage: a / b
Returns the division of two integers
liftable eq[T](lhs: strict T, rhs: strict T): Bool
Operator usage: a == b
Equivalence on arbitrary data types. On complex data structures this operator checks the object's identity. Note, that this operator is defined as liftable, so it does neither check the equivalence nor the identity of streams, but applies the operator on two streams using the signal semantics.
liftable fadd(lhs: strict Float, rhs: strict Float): Float
Operator usage: a +. b
Returns the sum of two floats
liftable fdiv(lhs: strict Float, rhs: strict Float): Float
Operator usage: a /. b
Returns the division of two floats
liftable fgeq(lhs: strict Float, rhs: strict Float): Bool
Operator usage: a >=. b
Returns true if a is greater than or equal to b
liftable fgt(lhs: strict Float, rhs: strict Float): Bool
Operator usage: a >. b
Returns true if a is strictly greater than b
liftable fleq(lhs: strict Float, rhs: strict Float): Bool
Operator usage: a <=. b
Returns true if a is lower than or equal to b
liftable flt(lhs: strict Float, rhs: strict Float): Bool
Operator usage: a <. b
Returns true if a is strictly lower than b
liftable fmul(lhs: strict Float, rhs: strict Float): Float
Operator usage: a *. b
Returns the multiplication of two floats
liftable fnegate(arg: strict Float): Float
Operator usage: -.a
Unary minus on floats
liftable fsub(lhs: strict Float, rhs: strict Float): Float
Operator usage: a -. b
Returns the difference of two floats
liftable geq(lhs: strict Int, rhs: strict Int): Bool
Operator usage: a >= b
Returns true if a is greater than or equal to b
liftable gt(lhs: strict Int, rhs: strict Int): Bool
Operator usage: a > b
Returns true if a is strictly greater than b
liftable ite[T](cond: strict Bool, thenCase: lazy T, elseCase: lazy T): T
Operator usage: if c then a else b
If-Then-Else
liftable leftshift(lhs: strict Int, rhs: strict Int): Int
Operator usage: a << b
Arithmetic left shift on integers
liftable leq(lhs: strict Int, rhs: strict Int): Bool
Operator usage: a <= b
Returns true if a is lower than or equal to b
liftable lt(lhs: strict Int, rhs: strict Int): Bool
Operator usage: a < b
Returns true if a is strictly lower than b
liftable mod(lhs: strict Int, rhs: strict Int): Int
Operator usage: a % b
Returns the remainder of two integers
liftable mul(lhs: strict Int, rhs: strict Int): Int
Operator usage: a * b
Returns the multiplication of two integers
liftable negate(arg: strict Int): Int
Operator usage: -a
Unary minus on integers
liftable neq[T](lhs: strict T, rhs: strict T): Bool
Operator usage: a != b
Non-Equivalence on arbitrary data types. On complex data structures this operator checks the object's identity. Note, that this operator is defined as liftable, so it does neither check the equivalence nor the identity of streams, but applies the operator on two streams using the signal semantics.
liftable not(arg: strict Bool): Bool
Operator usage: !x
Boolean complement
liftable or(lhs: lazy Bool, rhs: lazy Bool): Bool
Operator usage: a || b
Boolean disjunction
liftable rightshift(lhs: strict Int, rhs: strict Int): Int
Operator usage: a >> b
Arithmetic right shift on integers
liftable def rightshift(lhs: strict Int, rhs: strict Int): Int = extern("rightshift") staticite[T](cond: strict Bool, thenCase: lazy Events[T], elseCase: lazy Events[T]): Events[T]
Operator usage: static if c then a else b
static If-Then-Else
liftable sub(lhs: strict Int, rhs: strict Int): Int
Operator usage: a - b
Returns the difference of two integers