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%2FListSyntax11.scl;h=fb4199b830e7eef4b7385d656275ecdb9c71052b;hp=15f0441906e8341ed557418a8f00afbd84256f81;hb=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=d70b5f7a4cdeea05c7526560303feffeb03596b0 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax11.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax11.scl index 15f044190..fb4199b83 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax11.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListSyntax11.scl @@ -1,8 +1,8 @@ -import "Prelude" - -dists l = sum [sqrt (x*x+y*y) - | (x,y) <- l ] - -main = dists [(0,0),(1,1),(2,0)] --- +import "Prelude" + +dists l = sum [sqrt (x*x+y*y) + | (x,y) <- l ] + +main = dists [(0,0),(1,1),(2,0)] +-- 3.414213562373095 \ No newline at end of file