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