Skip to content

Warn about missing signatures only for exported functions

The -fwarn-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.

Edited by Thomas Miedema
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information