repo.or.cz
/
chr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of /home/pl/chr
[chr.git]
/
Tests
/
passive_check.chr
blob
86e3f9c691039d2346ff5e40cf8c436123fc9f8c
1
:- module(passive_check,[passive_check/0]).
2
:- use_module(library(chr)).
3
4
:- chr_constraint a/1, b/1.
5
6
:- chr_option(debug,off).
7
:- chr_option(optimize,full).
8
9
a(X) # ID, b(X) <=> true pragma passive(ID).
10
11
passive_check :-
12
a(_).