[GHC] #16138: Export GHC.TypeNats.natSing for TypeApplications
GHC
ghc-devs at haskell.org
Sun Jan 6 21:41:36 UTC 2019
#16138: Export GHC.TypeNats.natSing for TypeApplications
-------------------------------------+-------------------------------------
Reporter: HateUsernames | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: | Version: 8.6.3
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:
-------------------------------------+-------------------------------------
Now that TypeApplications is available `natSing` can be exposed so that it
can be directly used like `natSing @n`.
This allows for Proxy not to be used.
http://hackage.haskell.org/package/base-4.12.0.0/docs/src/GHC.TypeNats.html#KnownNat
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/16138>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list