Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

๐Ÿค– Generated with SplitRS

Functionsยง

arith_add
Build X + Y.
arith_div
Build X div Y โ€” integer division.
arith_eq
Build X =:= Y โ€” arithmetic equality.
arith_gt
Build X > Y.
arith_lt
Build X < Y.
arith_mod
Build X mod Y.
arith_mul
Build X * Y.
arith_neq
Build X =\= Y โ€” arithmetic inequality.
arith_sub
Build X - Y.
atom
atom(s) โ€” shorthand for PrologTerm::Atom.
compound
compound(f, args) โ€” shorthand for PrologTerm::Compound.
conjunction
Build (A, B) โ€” conjunction term.
disjunction
Build (A ; B) โ€” disjunction term.
float_term
float(x) โ€” shorthand for PrologTerm::Float.
if_then_else
Conditional term: (Cond -> Then ; Else).
int
int(n) โ€” shorthand for PrologTerm::Integer.
is_eval
Build X is Expr โ€” arithmetic evaluation.
list
list(elems) โ€” shorthand for a proper list.
not_provable
Negation-as-failure term: \+(Goal).
not_unify
Build X \= Y โ€” non-unification goal.
op_term
op_term(op, l, r) โ€” shorthand for PrologTerm::Op.
strict_eq
Build X == Y โ€” strict equality.
strict_neq
Build X \== Y โ€” strict inequality.
term_gt
Build X @> Y โ€” term order greater-than.
term_lt
Build X @< Y โ€” term order less-than.
unify
Build X = Y โ€” unification goal.
var
var(s) โ€” shorthand for PrologTerm::Variable.