Merge branch 'master' of darcs.haskell.org:/srv/darcs//packages/base
[packages/base.git] / tests / readInteger001.hs
1
2 main :: IO ()
3 main = do f "100e12"
4 f "00123.456"
5
6 f :: String -> IO ()
7 f str = print (reads str :: [(Integer, String)])