]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ListSyntax.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax.scl
new file mode 100644 (file)
index 0000000..1747a6f
--- /dev/null
@@ -0,0 +1,7 @@
+import "Prelude"\r
+\r
+a = [1,2]\r
+b = [5,9]\r
+main = [(x,y) | x <- a, y <- b]\r
+--\r
+[(1,5), (1,9), (2,5), (2,9)]
\ No newline at end of file