Added example with simple propositions.
This commit is contained in:
parent
1f1006ea96
commit
64c9a741c4
11
examples/propositions.lp
Normal file
11
examples/propositions.lp
Normal file
@ -0,0 +1,11 @@
|
||||
p :- q.
|
||||
q :- not r.
|
||||
{s; t} :- p.
|
||||
:- s, not t.
|
||||
:- r, q, p.
|
||||
|
||||
%#show p/0.
|
||||
%#show q/0.
|
||||
%#show r/0.
|
||||
#show s/0.
|
||||
#show t/0.
|
Loading…
Reference in New Issue
Block a user