
#9632: Promotable type synonyms (or: synonyms to promoted types) -------------------------------------+------------------------------------- Reporter: jstolarek | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: checker) | 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 thomie): This compiles: {{{ {-# LANGUAGE TypeInType #-} module PromotableTypeSynonyms where import Data.Kind data B = T | F data P :: B -> * type B' = B data P' :: B' -> * }}} Note: in case you are on Debian or Ubuntu, you can install always latest HEAD (1 day delay) from here: https://launchpad.net/~hvr/+archive/ubuntu/ghc -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9632#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler