[GHC] #1040: read::Float does not handle string that are all
digits, but end in "."
GHC
trac at galois.com
Wed Dec 13 05:00:33 EST 2006
#1040: read::Float does not handle string that are all digits, but end in "."
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: low | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by thorkilnaur):
* resolution: => invalid
* status: new => closed
Comment:
Describing "Numeric Literals" in Haskell programs, page 12 of the Haskell
98 reports says "A floating literal must contain digits both before and
after the decimal point." The behaviour of {{{read}}} that you describe is
in agreement with this. To me, the {{{read}}} behaviour thus seems
entirely reasonable and I have taken the liberty of closing this ticket.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1040>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list