]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Macros1.scl
Merge commit '3b5069d' into develop
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Macros1.scl
1 @macro\r
2 (||) :: Boolean -> Boolean -> Boolean \r
3 a || b = if a then True else b\r
4 \r
5 main :: Boolean\r
6 main = True || (fail "This should not be executed")\r
7 --\r
8 true