[GHC] #14632: Export typeNatDivTyCon from TcTypeNats

#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

#14632: Export typeNatDivTyCon from TcTypeNats -------------------------------------+------------------------------------- Reporter: darchon | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.4.1-alpha1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): That sounds entirely reasonable to me. Care to submit a patch? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14632#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14632: Export typeNatDivTyCon from TcTypeNats -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.4.1-alpha1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4284 Wiki Page: | -------------------------------------+------------------------------------- Changes (by darchon): * owner: (none) => darchon * differential: => Phab:D4284 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14632#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14632: Export typeNatDivTyCon from TcTypeNats
-------------------------------------+-------------------------------------
Reporter: darchon | Owner: darchon
Type: feature request | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.4.1-alpha1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4284
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ryan Scott

#14632: Export typeNatDivTyCon from TcTypeNats -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: merge Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.4.1-alpha1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4284 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14632#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14632: Export typeNatDivTyCon from TcTypeNats -------------------------------------+------------------------------------- Reporter: darchon | Owner: darchon Type: feature request | Status: closed Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.4.1-alpha1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4284 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged in 273131dfd83ef4f8b6722526dbc9be3215815af4. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14632#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC