]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/performance/SumOfInverses2.scl
Merge commit 'd186091'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / 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