
#12833: GHCi -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 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 rwbarton): Well the simple answer is because `let type A = Int` is not valid Haskell, and the same for your other examples. I suppose we could implement this, but it seems needless (when `:{` exists) and confusing (it is irregular, and presumably wouldn't be supported in a Haskell source file). (Also, the title of this ticket is not very good.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12833#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler