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