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%2FMonads1.scl;h=27f5dc298676d82eeb34ae2d325de836a2fab97d;hp=90115d3ffef5bd0ac02f6f53cc192227f5fd2436;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Monads1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Monads1.scl index 90115d3ff..27f5dc298 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Monads1.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Monads1.scl @@ -1,8 +1,8 @@ -import "Prelude" - -a = [1, 2] -b = [5, 6] - -main = a >>= \x -> b >>= \y -> return (x+y) --- +import "Prelude" + +a = [1, 2] +b = [5, 6] + +main = a >>= \x -> b >>= \y -> return (x+y) +-- [6, 7, 7, 8] \ No newline at end of file