Created
June 16, 2010 20:14
-
-
Save emad-elsaid/441200 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* use true, false like that: | |
true/\false | |
true/\ ~false | |
true\/false\/true | |
...etc | |
*/ | |
:- op( 350, xfy, /\ ). | |
:- op( 350, xfy, \/ ). | |
:- op( 300, fx, ~ ). | |
: | |
E1 /\ E2 :- | |
E1, | |
E2. | |
E1 \/ E2 :- | |
E1. | |
E1 \/ E2 :- | |
E2. | |
~E:- | |
E = false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment