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%2FWhile.scl;h=27e47b99c4f63f7effc48297929dcdb164441232;hp=3e450439b444eb347db9195d0c5ed1b59a323b9a;hb=HEAD;hpb=dcca7344e1da6f975859fd79fbc6cead7d363042 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While.scl index 3e450439b..27e47b99c 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While.scl @@ -1,10 +1,10 @@ - -while :: ( Boolean) -> ( a) -> () -while cond body = loop () - where loop _ = if cond - then do body ; loop () - else () - -main = "FOO" --- + +while :: ( Boolean) -> ( a) -> () +while cond body = loop () + where loop _ = if cond + then do body ; loop () + else () + +main = "FOO" +-- FOO \ No newline at end of file