[Haskell-cafe] No warn on type in expression?

amindfv at gmail.com amindfv at gmail.com
Tue Oct 27 20:37:59 UTC 2015

An expression like:

x = 5 :: Int

Fails with -Wall -Werror, with "Top-level binding with no type signature". I propose we don't warn on bindings whose entire expressions are typed. This cuts in half the line noise for trivial variable values.


More information about the Haskell-Cafe mailing list