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=1ec0193a5a5b8f368b03adb24acd762838ddf8ea;hp=15f0441906e8341ed557418a8f00afbd84256f81;hpb=0580ea8b675c868685993b0780c9ecc31010f681;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