[GHC] #12030: GHCi Proposal: Display (Data.Kind.)Type instead of *
GHC
ghc-devs at haskell.org
Tue Jul 31 13:29:35 UTC 2018
#12030: GHCi Proposal: Display (Data.Kind.)Type instead of *
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: johnleo
Type: feature request | Status: closed
Priority: normal | Milestone: 8.6.1
Component: GHCi | Version: 8.1
Resolution: fixed | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => closed
* resolution: => fixed
* milestone: => 8.6.1
Comment:
My understanding is that the `-XNoStarIsType` extension gives you exactly
what you seek here, since that displays `*` as `Type` in GHCi:
{{{
GHCi, version 8.6.0.20180714: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/rgscott/.ghci
λ> :kind Int
Int :: *
λ> :set -XNoStarIsType
λ> :kind Int
Int :: Type
}}}
As such, I'm opting to close this.
(There's still an [https://github.com/ghc-proposals/ghc-proposals/pull/143
ongoing discussion] about whether `-XNoStarIsType` should be the default,
but that's a separate matter.)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12030#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list