]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListSyntax6.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / ListSyntax6.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListSyntax6.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListSyntax6.scl
new file mode 100644 (file)
index 0000000..a3e08c4
--- /dev/null
@@ -0,0 +1,6 @@
+import "Prelude"\r
+\r
+main :: [Integer]\r
+main = [x | x <- [1..10], then take 3]\r
+--\r
+[1, 2, 3]
\ No newline at end of file