]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Matching3.scl
Supply SVG text editor with element measurement context
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Matching3.scl
1
2 a = 5 :: Long
3 main = match a with
4   1 -> "wrong"
5   2 -> "wrong"
6   5 -> "right"
7   6 -> "wrong"
8   _ -> "wrong"
9 --
10 right