]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctorM1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / FunctorM1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctorM1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctorM1.scl
new file mode 100644 (file)
index 0000000..5e1874e
--- /dev/null
@@ -0,0 +1,11 @@
+import "Prelude"\r
+\r
+main = sequence [[1,2], [3,4], [5,6]]\r
+/*\r
+  x <- [1,2]\r
+  y <- [3,4]\r
+  z <- [5,6]\r
+  return [x,y,z]\r
+*/  \r
+--\r
+[[1, 3, 5], [1, 3, 6], [1, 4, 5], [1, 4, 6], [2, 3, 5], [2, 3, 6], [2, 4, 5], [2, 4, 6]]
\ No newline at end of file