
#11451: Inconsistent warnings for unused binders -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 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 simonpj):
What do we think about `length :: [_] -> Int`?
No, this is not a use in a ''type pattern'' (as are all they cases discussed above). It's an occurrence, pure and simple. This is explicitly covered by `PartialTypeSignatures` and I don't want to change all of that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11451#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler