This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
Prlog
Watch
2
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Import example code from lesson slides
DricomDragon
5 years ago
parent
003007e80d
commit
c132e5874f
2 changed files
with
10 additions
and
0 deletions
Split View
Show Diff Stats
5
0
cm/lp1.lp
5
0
cm/lp2.lp
+ 5
- 0
cm/lp1.lp
View File
@@ -0,0 +1,5 @@
+a.
+b.
+c.
+q(b).
+p(X) :- q(X).
+ 5
- 0
cm/lp2.lp
View File
@@ -0,0 +1,5 @@
+a.
+b.
+c.
+q(b).
+p(X) | r(X) :- q(X).