[GHC] #13652: Add integer division to GHC.TypeLits
GHC
ghc-devs at haskell.org
Fri May 5 22:02:23 UTC 2017
#13652: Add integer division to GHC.TypeLits
-------------------------------------+-------------------------------------
Reporter: vagarenko | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
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:
-------------------------------------+-------------------------------------
GHC.TypeLits currently lacks integer division type families and I can't
see why. What is the reason for not having these methods of the `Integral`
class at type level:
{{{#!hs
quot
rem
div
mod
quotRem
divMod
}}}
?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13652>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list