summaryrefslogtreecommitdiff
path: root/testsuite/tests/perf/should_run/T7954.hs
blob: 2b86d2fc39b61f4ca63fe30cfca1b506a55671a5 (plain)
1
2
3
4
5
6
7
module Main where

norm ::  [Double] -> Double
norm = sqrt . sum . map (\x -> x*x)
   
main :: IO ()
main = print (norm (enumFromTo 0 10000000) > 100)