]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax2.scl
d33e78fac2d0ce34aaa44fb6af0a9a21f1c2f2da
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ListSyntax2.scl
1 import "Prelude"
2
3 a = [1,2]
4 b = [5,9]
5 main = [(x, y) | x <- a, x==2, y <- b]
6 --
7 [(2,5), (2,9)]