
#10067: The Read Integer instance is too slow -------------------------------------+------------------------------------- Reporter: redneb | Owner: Type: feature request | Status: patch Priority: low | Milestone: Component: Core Libraries | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D645 -------------------------------------+------------------------------------- Comment (by redneb): One problem with `Natural` is that it does not follow the conventions of other numeric types. For example, the `Show` instances of all other types are given in `GHC.Show` and the `Read` instances in `GHC.Read`, while for `Natural` all instances are declared in `GHC.Natural`. Herbert, do you have any objection moving the `Read Natural` instance to `GHC.Read`? This will make it easier to treat `Natural` like any other type in the future. Otherwise, there will be an module import cycle and will require an hs- boot file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10067#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler