[GHC] #2526: warn about missing signatures only for exported functions

GHC trac at galois.com
Wed Aug 20 16:14:21 EDT 2008


#2526: warn about missing signatures only for exported functions
--------------------------------+-------------------------------------------
    Reporter:  fergushenderson  |       Owner:          
        Type:  feature request  |      Status:  new     
    Priority:  normal           |   Component:  Compiler
     Version:  6.8.3            |    Severity:  normal  
    Keywords:                   |    Testcase:          
Architecture:  Multiple         |          Os:  Multiple
--------------------------------+-------------------------------------------
 The -fno-warn-missing-signatures option results in warnings if signatures
 are not declared for any top-level functions.

 Many Haskell users prefer to declare type signatures only for exported
 functions, which are part of the module's interface, not for all
 functions.  It would be nice to have an option that issued warnings iff
 any exported functions lacked explicit signatures.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2526>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list