[GHC] #7688: :kind should do kind generalisation
GHC
cvs-ghc at haskell.org
Fri Feb 15 09:34:00 CET 2013
#7688: :kind should do kind generalisation
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.6.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by simonpj):
* cc: sheard@… (added)
Comment:
The general problem is that many files are loaded, so which flags would
you like to be in force?
I do wonder whether, at least for `:kind`, we could temporarily switch on
`PolyKinds`, precisely to get the type generalised. That would be easy;
would have no effect if the types mentioned were not themselves
polykinded; and would probably lead to fewer surprises.
It's a bit ad hoc, but I think it'd be an improvement. Any other
opinions?
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7688#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list