]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Effects6.scl
Fixed all line endings of the repository
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Effects6.scl
index e99dd4fcb612459ef65ffaa931f23f0635ca8b73..fd91390862a720d46e4613ed2a1724889e7e779c 100644 (file)
@@ -1,13 +1,13 @@
-effectfulId :: a -> <Proc> a\r
-effectfulId x = x\r
-\r
-(.) :: (b -> <e2> c) -> (a -> <e1> b) -> a -> <e1,e2> c\r
-(f . g) x = f (g x)\r
-\r
-doubleId :: a -> <Proc> a\r
-doubleId = effectfulId . effectfulId\r
-\r
-main :: Integer\r
-main = runProc (doubleId (13 :: Integer))\r
---\r
+effectfulId :: a -> <Proc> a
+effectfulId x = x
+
+(.) :: (b -> <e2> c) -> (a -> <e1> b) -> a -> <e1,e2> c
+(f . g) x = f (g x)
+
+doubleId :: a -> <Proc> a
+doubleId = effectfulId . effectfulId
+
+main :: Integer
+main = runProc (doubleId (13 :: Integer))
+--
 13
\ No newline at end of file