
#14632: Export typeNatDivTyCon from TcTypeNats -------------------------------------+------------------------------------- Reporter: darchon | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.4.1-alpha1 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: -------------------------------------+------------------------------------- TcTypeNats exports the TyCons for all type-level natural operations, except: - typeNatDivTyCon - typeNatModTyCon - typeNatLogTyCon Could these be exported as well so I dont need ugly code like https://github.com/clash-lang/ghc-typelits- extra/blob/b46074169205945cc0ff822669436ed0b4a83c41/src/GHC/TypeLits/Extra/Solver.hs#L169-L170 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14632 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler