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%2FLocalDefinitions3.scl;h=5b8f257d7f4f9637ff4644920d876316c8a21cea;hp=71a193f6e2a2e7c747e00b77823624e00c9123cc;hb=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=5930811a7911090a0c4984380c3b45ed81a93cde diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions3.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions3.scl index 71a193f6e..5b8f257d7 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions3.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LocalDefinitions3.scl @@ -1,10 +1,10 @@ - -data Step s = Skip s - -next :: (s -> Step s) -> s -> Step s -next next0 ss = match next0 ss with - Skip ss -> Skip ss - -main = next (\x -> Skip x) (3 :: Integer) --- + +data Step s = Skip s + +next :: (s -> Step s) -> s -> Step s +next next0 ss = match next0 ss with + Skip ss -> Skip ss + +main = next (\x -> Skip x) (3 :: Integer) +-- 3 \ No newline at end of file