]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax7.scl
Supply SVG text editor with element measurement context
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ListSyntax7.scl
1 import "Prelude"
2
3 main :: [Integer]
4 main = [x | x <- [2,4,3,5,4,6], then sortBy by x]
5 --
6 [2, 3, 4, 4, 5, 6]