]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Timing.scl
Merge commit 'd1a82fe'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Timing.scl
1 import "StandardLibrary"\r
2 \r
3 main = do \r
4     (r,t) = Debug.time (foldl (+) 0 \r
5                    $ map (\(_,_,z) -> z) \r
6                    $ [(a,b,c) | a <- [1..50], b <- [1..50], c <- [1..50], a*a + b*b == c*c])\r
7     print t\r
8     r\r
9 --\r
10 1172