You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2017. It is now read-only.
Souffle supports standard binary operations >, <, =, !=, >= and <=. Examples of this are given below.
A(a,c) :- a > c.
B(a,c) :- a < c.
C(a,c) :- a = c.
D(a,c) :- a != c.
E(a,c) :- a <= c.
F(a,c) :- a >= c.
$ is used to generate unique random values to populate a table. It should be used with care as it may result in stepping outside the standard Datalog semantics.
.decl A (n:number)
.decl B (a:number, b:number)
.decl C (a:number, b:number) output
A(0).
A(i+1) :- A(i), i<1000.
B($,i) :- A(i).
C(i,j) :- B(c,i), B(c,j), i!=j.