diff options
Diffstat (limited to 'libraries/base/System/IO.hs')
-rw-r--r-- | libraries/base/System/IO.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/System/IO.hs b/libraries/base/System/IO.hs index 70bc61c90b..4f3693a872 100644 --- a/libraries/base/System/IO.hs +++ b/libraries/base/System/IO.hs @@ -312,7 +312,7 @@ getContents = hGetContents stdin -- which is fully read before being returned -- (same as 'hGetContents'' 'stdin'). -- --- @since 4.14.0.0 +-- @since 4.15.0.0 getContents' :: IO String getContents' = hGetContents' stdin @@ -337,7 +337,7 @@ readFile name = openFile name ReadMode >>= hGetContents -- returns the contents of the file as a string. -- The file is fully read before being returned, as with 'getContents''. -- --- @since 4.14.0.0 +-- @since 4.15.0.0 readFile' :: FilePath -> IO String readFile' name = openFile name ReadMode >>= hGetContents' |