[GHC] #12358: Read1/Read2 don't have methods defined in terms of ReadPrec

GHC ghc-devs at haskell.org
Wed Aug 31 19:01:15 UTC 2016


#12358: Read1/Read2 don't have methods defined in terms of ReadPrec
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2379
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"9cfef167dc0b2bfa881c5d9eca38227fbdfd507c/ghc" 9cfef16/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9cfef167dc0b2bfa881c5d9eca38227fbdfd507c"
 Add Read1/Read2 methods defined in terms of ReadPrec

 This adds new methods `liftReadList(2)` and `liftReadListPrec(2)` to the
 `Read1`/`Read2` classes which are defined in terms of `ReadPrec` instead
 of `ReadS`. This also adds related combinators and changes existing
 `Read1` and `Read2` instances to be defined in terms of the new methods.

 Reviewers: hvr, austin, bgamari

 Reviewed By: bgamari

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D2379

 GHC Trac Issues: #12358
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12358#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list