#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: | ---------------------------------+------------------------------------------ Comment(by dreixel): Replying to [comment:5 simonpj]:
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.
I think this is a good idea, and I couldn't come up with an example where a user might be possibly surprised at seeing unexpected polykinded stuff (since we default kinds to `*` when `PolyKinds` is off). -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7688#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler