]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MarketModel2.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / MarketModel2.scl
index bcd576bb1df7e05fa3ea2a5165f501c191940fef..9c7b707432f7cd60b860ffabb8b3f454c60c59d8 100644 (file)
@@ -1,12 +1,12 @@
-import "IterN"\r
-import "Random"\r
-\r
-foo :: Integer -> <Proc> Double\r
-foo n = runRandom $ foldlN addRandom 0.0 n\r
-\r
-addRandom :: Double -> Integer -> <Random,Proc> Double\r
-addRandom v i = v + randomDouble\r
-\r
-main = "Foo"\r
---\r
+import "IterN"
+import "Random"
+
+foo :: Integer -> <Proc> Double
+foo n = runRandom $ foldlN addRandom 0.0 n
+
+addRandom :: Double -> Integer -> <Random,Proc> Double
+addRandom v i = v + randomDouble
+
+main = "Foo"
+--
 Foo
\ No newline at end of file