]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/performance/SumOfInverses2.scl
Re-enabled Acorn transaction cancellation support for testing
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / performance / SumOfInverses2.scl
1 import "Prelude"\r
2 \r
3 main :: Integer -> Double\r
4 main m = sum [1/(fromInteger x) | x <- [1..m]]\r