]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListSyntax12.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / ListSyntax12.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListSyntax12.scl b/bundles/org.simantics.scl.compiler/tests/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