[commit: packages/base] master: Export abstract `Text.Read.Lex.Number` type (1fbfbf8)
git at git.haskell.org
git at git.haskell.org
Fri Nov 1 09:31:38 UTC 2013
Repository : ssh://git@git.haskell.org/base
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1fbfbf8fcbdb2ea218585cb4db3953b4fdbcbfbb/base
>---------------------------------------------------------------
commit 1fbfbf8fcbdb2ea218585cb4db3953b4fdbcbfbb
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Fri Nov 1 10:14:04 2013 +0100
Export abstract `Text.Read.Lex.Number` type
This fixes some "could not find link destinations" Haddock warnings and seems to
the "right thing to do". The since-annotation for `Number` is changed as the `Number`
has becomes referencable in user code only w/ 4.7.0.0 even though it existed already
in 4.6.0.0.
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
1fbfbf8fcbdb2ea218585cb4db3953b4fdbcbfbb
Text/Read/Lex.hs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Text/Read/Lex.hs b/Text/Read/Lex.hs
index ed049f8..557637d 100644
--- a/Text/Read/Lex.hs
+++ b/Text/Read/Lex.hs
@@ -17,7 +17,7 @@
module Text.Read.Lex
-- lexing types
- ( Lexeme(..)
+ ( Lexeme(..), Number
, numberToInteger, numberToFixed, numberToRational, numberToRangedRational
@@ -61,7 +61,7 @@ data Lexeme
| EOF
deriving (Eq, Show)
--- | /Since: 4.6.0.0/
+-- | /Since: 4.7.0.0/
data Number = MkNumber Int -- Base
Digits -- Integral part
| MkDecimal Digits -- Integral part
More information about the ghc-commits
mailing list