[GHC] #14640: Div and Mod type families don't have the same fixities as their term-level counterparts

GHC ghc-devs at haskell.org
Sun Jan 7 05:33:14 UTC 2018


#14640: Div and Mod type families don't have the same fixities as their term-level
counterparts
-------------------------------------+-------------------------------------
           Reporter:  RyanGlScott    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:                 |           Version:  8.4.1-alpha1
  libraries/base                     |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Commit fa8035e3ee83aff5a20fc5e7e2697bac1686d6a6 added `Div` and `Mod` type
 families to `GHC.TypeNats`. However, they did not add the corresponding
 fixities! Currently, we have that both `div` and `mod` (at the value
 level) are `infixl 7`, so we should adopt the same fixities for the type-
 level `Div` and `Mod` as well.

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


More information about the ghc-tickets mailing list