X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FListSyntax11.scl;h=fb4199b830e7eef4b7385d656275ecdb9c71052b;hb=b123fe92f27f72b9132ec52c9494fb8d8715d2ed;hp=15f0441906e8341ed557418a8f00afbd84256f81;hpb=602614f4502aae85ecf3967abb7152d2d62903e3;p=simantics%2Fplatform.git 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