main = do print $ ([0.0, 0.00001 ..] !! 100000 :: Rational) print $ ([0.0, 0.00001 ..] !! 100000 :: Double)
Standard input is empty
1%1 0.9999999999980838
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!