
#9636: Function with type error accepted -------------------------------------+------------------------------------- Reporter: augustss | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by augustss): To me it's clear that `T Bool` is not a type. To me `T` is a type function which computes a type given a type. But it's a partial function, so only some arguments make sense. New types are created by `data` and `newtype`, not by `type` or `type family`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9636#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler