[Haskell-cafe] Best idiom for avoiding Defaulting warnings with ghc -Wall -Werror ??

Simon Peyton-Jones simonpj at microsoft.com
Mon Jun 25 11:15:06 EDT 2007


| Unless I misunderstand and it is already possible, I'd now prefer a
| language extension that allows the explicit declarations
|
| > 2,3 :: Int
|
| once for each affected numeric literal.

i2 = 2 :: Int
i3 = 3 :: Int

S


More information about the Haskell-Cafe mailing list