Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :- use_module(library(chr)).
- :- chr_constraint is_true/1.
- :- initialization(main).
- is_true([A,means,B]) ==> (is_true(A) ==> is_true(B)).
- is_true([[A,is,true],means,[A,is,not,false]]).
- is_true([something,is,true]).
- ?- is_true([something,is,true]).
- true .
- ?- is_true([something,is,not,false]).
- is_true([something, is, not, false]).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement