[GHC] #11053: Add a warning for pattern synonyms without signatures
GHC
ghc-devs at haskell.org
Mon Nov 2 12:10:14 UTC 2015
#11053: Add a warning for pattern synonyms without signatures
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner:
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Keywords: newcomer | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
It is accepted as good style that top-level definitions should have type
signatures. Pattern synonyms seem no different to me in this regard so I
think it would be good if GHC warned if there was a pattern synonym
definition which lacked a type signature.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11053>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list