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%2FDoubleEffect.scl;h=463f6b986f88faa3d249657c61040e0bab81466c;hp=b0615106fd79839280f0a309ade0ffcf01d4b56b;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/DoubleEffect.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/DoubleEffect.scl index b0615106f..463f6b986 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/DoubleEffect.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/DoubleEffect.scl @@ -1,8 +1,8 @@ -app :: (Integer -> Integer) -> ((Integer -> Integer) -> Integer) -app f = do - a = f 1 - \g -> g a - -main = app (\x -> x) (\x -> x) --- +app :: (Integer -> Integer) -> ((Integer -> Integer) -> Integer) +app f = do + a = f 1 + \g -> g a + +main = app (\x -> x) (\x -> x) +-- 1 \ No newline at end of file