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=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=f8576d4d2b3b30d76db552d624fc9f087b8940bd 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