summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/IO/Encoding/UTF32.hs
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2013-09-22 22:04:55 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2013-09-22 22:04:55 +0200
commit40c00afe77a442c4cdc1bb85fadbd57aea89abb8 (patch)
treea134ff666b57bec6c392c2a223a6dd22f1fd91b4 /libraries/base/GHC/IO/Encoding/UTF32.hs
parent0a5ecb536e0f25383cfeacc6f50b0d28be297da4 (diff)
downloadhaskell-40c00afe77a442c4cdc1bb85fadbd57aea89abb8.tar.gz
Add Haddock `/Since: 4.4.0.0/` comments to symbols
This commit retroactively adds `/Since: 4.4.0.0/` annotations to symbols newly added/exposed in `base-4.4.0.0` (as shipped with GHC 7.2.1). See also 6368362f which adds the respective annotation for symbols newly added in `base-4.7.0.0` (that goes together with GHC 7.8.1). Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/base/GHC/IO/Encoding/UTF32.hs')
-rw-r--r--libraries/base/GHC/IO/Encoding/UTF32.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/GHC/IO/Encoding/UTF32.hs b/libraries/base/GHC/IO/Encoding/UTF32.hs
index ce3aa522c4..eddc4f8693 100644
--- a/libraries/base/GHC/IO/Encoding/UTF32.hs
+++ b/libraries/base/GHC/IO/Encoding/UTF32.hs
@@ -56,6 +56,7 @@ import GHC.IORef
utf32 :: TextEncoding
utf32 = mkUTF32 ErrorOnCodingFailure
+-- | /Since: 4.4.0.0/
mkUTF32 :: CodingFailureMode -> TextEncoding
mkUTF32 cfm = TextEncoding { textEncodingName = "UTF-32",
mkTextDecoder = utf32_DF cfm,
@@ -144,6 +145,7 @@ utf32_native_encode = utf32be_encode
utf32be :: TextEncoding
utf32be = mkUTF32be ErrorOnCodingFailure
+-- | /Since: 4.4.0.0/
mkUTF32be :: CodingFailureMode -> TextEncoding
mkUTF32be cfm = TextEncoding { textEncodingName = "UTF-32BE",
mkTextDecoder = utf32be_DF cfm,
@@ -173,6 +175,7 @@ utf32be_EF cfm =
utf32le :: TextEncoding
utf32le = mkUTF32le ErrorOnCodingFailure
+-- | /Since: 4.4.0.0/
mkUTF32le :: CodingFailureMode -> TextEncoding
mkUTF32le cfm = TextEncoding { textEncodingName = "UTF-32LE",
mkTextDecoder = utf32le_DF cfm,