X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FWhile.scl;h=27e47b99c4f63f7effc48297929dcdb164441232;hb=3f5adda763f6281e9988277d067c1f71615e3da2;hp=3e450439b444eb347db9195d0c5ed1b59a323b9a;hpb=861a3da972d67bf5f0d246129c63f611922e03f0;p=simantics%2Fplatform.git 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