Ticket #5203: q.2.hs

File q.2.hs, 331 bytes (added by igloo, 2 years ago)
Line 
1
2module Main (main) where
3
4import W (analyseMean)
5import qualified Data.Vector.Unboxed as U
6import System.IO
7
8main :: IO ()
9main = do hSetBuffering stdout NoBuffering
10          measureEnvironment
11
12measureEnvironment :: IO ()
13measureEnvironment = do
14  putStrLn "W1"
15  let x = U.replicate 159999 3.6
16  analyseMean x
17  putStrLn "W3"