Skip to content

Commit

Permalink
Add a sample dl file.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedretaber committed Aug 9, 2023
1 parent 7ea919f commit 2033b09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/dl2u_sample.dl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source ed('EMP_NAME':string,'DEPT_NAME':string).
source eed('EMP_NAME':string,'DEPT_NAME':string).
+eed(E, D) :- ed(E, D), D = 'A', E <> 'Joe', ¬eed(E, D).
-eed(E, D) :- ed(V1, D), eed(E, D), E = 'Joe', D = 'A', V1 <> 'Joe', ¬eed(V1, D).
+ed(E, D) :- ed(V1, D), E = 'Joe', D = 'A', V1 <> 'Joe', ¬ed(E, D), ¬eed(V1, D).

0 comments on commit 2033b09

Please sign in to comment.