]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConjunctionMacro.scl
Merge commit '2a46c55'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ConjunctionMacro.scl
1 (&&) :: Boolean -> (<e> Boolean) -> <e> Boolean\r
2 a && b = if a then b else False\r
3 \r
4 main = False && fail "Should not be evaluated!"\r
5 --\r
6 false