]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While2.scl
Fixed all line endings of the repository
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / While2.scl
index 6567c22abbe6c711fb778cd9f2afb60f535a2fa9..087dd106903d0fa5415dbb1ceaadc5bc65211bf1 100644 (file)
@@ -1,12 +1,12 @@
-import "Prelude" hiding (while)\r
-\r
-while :: Maybe Boolean -> Maybe a -> Maybe ()\r
-while condM bodyM = mdo\r
-    cond <- condM\r
-    if cond \r
-    then bodyM >> while condM bodyM\r
-    else return ()\r
-\r
-main = "FOO"\r
---\r
+import "Prelude" hiding (while)
+
+while :: Maybe Boolean -> Maybe a -> Maybe ()
+while condM bodyM = mdo
+    cond <- condM
+    if cond 
+    then bodyM >> while condM bodyM
+    else return ()
+
+main = "FOO"
+--
 FOO
\ No newline at end of file