[GHC] #9818: Add `Natural` number type to `base`

GHC ghc-devs at haskell.org
Sat Nov 22 14:20:46 UTC 2014


#9818: Add `Natural` number type to `base`
-------------------------------------+-------------------------------------
              Reporter:  hvr         |            Owner:  hvr
                  Type:  feature     |           Status:  new
  request                            |        Milestone:  7.10.1
              Priority:  normal      |          Version:
             Component:  Core        |         Keywords:  base natural
  Libraries                          |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Unknown
      Operating System:              |       Blocked By:
  Unknown/Multiple                   |  Related Tickets:  #3650
       Type of failure:              |
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:  Phab:D473   |
-------------------------------------+-------------------------------------

Comment (by Herbert Valerio Riedel <hvr@…>):

 In [changeset:"41300b7687c7fc60832f5fa91fce897fc2679ccd/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="41300b7687c7fc60832f5fa91fce897fc2679ccd"
 Implement {gcd,lcm}/Natural optimisation (#9818)

 This provides the equivalent of the existing `{gcd,lcm}/Integer`
 optimisations for the `Natural` type, when using the `integer-gmp2`
 backend.
 }}}

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


More information about the ghc-tickets mailing list