[Git][ghc/ghc][master] Fix the changelog/@since information for hGetContents'/getContents'/readFile'

Marge Bot gitlab at gitlab.haskell.org
Wed Apr 1 05:20:44 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
7627eab5 by Ryan Scott at 2020-04-01T01:20:38-04:00
Fix the changelog/@since information for hGetContents'/getContents'/readFile'

Fixes #17979.

[ci skip]

- - - - -


3 changed files:

- libraries/base/GHC/IO/Handle/Text.hs
- libraries/base/System/IO.hs
- libraries/base/changelog.md


Changes:

=====================================
libraries/base/GHC/IO/Handle/Text.hs
=====================================
@@ -466,7 +466,7 @@ getSomeCharacters handle_ at Handle__{..} buf at Buffer{..} =
 -- | The 'hGetContents'' operation reads all input on the given handle
 -- before returning it as a 'String' and closing the handle.
 --
--- @since 4.14.0.0
+-- @since 4.15.0.0
 
 hGetContents' :: Handle -> IO String
 hGetContents' handle = do


=====================================
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'


=====================================
libraries/base/changelog.md
=====================================
@@ -6,6 +6,9 @@
     call, ensuring that the call can be interrupted with `SIGINT` on POSIX
     systems.
 
+  * Add `hGetContents'`, `getContents'`, and `readFile'` in `System.IO`:
+    Strict IO variants of `hGetContents`, `getContents`, and `readFile`.
+
 ## 4.14.0.0 *TBA*
   * Bundled with GHC 8.10.1
 
@@ -51,9 +54,6 @@
 
   * Add `IsList` instance for `ZipList`.
 
-  * Add `hGetContents'`, `getContents'`, and `readFile'` in `System.IO`:
-    Strict IO variants of `hGetContents`, `getContents`, and `readFile`.
-
 ## 4.13.0.0 *July 2019*
   * Bundled with GHC 8.8.1
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7627eab5dd882eb6f1567e3ae95c6c770830a5eb

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7627eab5dd882eb6f1567e3ae95c6c770830a5eb
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200401/1b6f8547/attachment-0001.html>


More information about the ghc-commits mailing list