X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FListSyntax5.scl;h=4141252e4aec128a47aae988426331d3110c1c93;hp=6ba8330781f2af4243f4184005c5922d38a58f34;hb=HEAD;hpb=f23dc81afe57e77d20706a9a94002ce4c72f670d diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax5.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax5.scl index 6ba833078..4141252e4 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax5.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax5.scl @@ -1,8 +1,8 @@ -import "Prelude" - -a = [1,2,3,4] - -main :: [Integer] -main = [x+y | x <- a, y <- a, x!=y] --- -[3, 4, 5, 3, 5, 6, 4, 5, 7, 5, 6, 7] +import "Prelude" + +a = [1,2,3,4] + +main :: [Integer] +main = [x+y | x <- a, y <- a, x!=y] +-- +[3, 4, 5, 3, 5, 6, 4, 5, 7, 5, 6, 7]