]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR3.scl
1d8451439ee92b8b9d6cb680ffd92cbb67fa9ca2
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / CHR3.scl
1 import "Prelude"
2
3 main = ()
4   where
5     A ?x => print ?x
6     A ?x, not A (?x+1) => A (?x-1)
7     True => A 0
8 --
9 0
10 ()