[Haskell-cafe] IMO ghc 6.8.2 misleading warning messages
Vasili I. Galchin
vigalchin at gmail.com
Tue Jun 23 00:01:06 EDT 2009
Hello,
For:
parseOptional = Parse.parseOptional
I got warning messages:
Swish/HaskellUtils/ParseURI.hs:77:4:
Warning: Defined but not used: `parseOptional'
Swish/HaskellUtils/ParseURI.hs:77:4:
Warning: Definition but no type signature for `parseOptional'
Inferred type: parseOptional :: forall a b.
Parse.Parser a [b] -> [a] ->
[([b], [a])]
IMO the warning messages should be reversed! (parseOptional was never "used"
.. called ... but I would strongly prefer the type signature warning first.
Kind regards, Vasili
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090622/c8eaaff3/attachment.html
More information about the Haskell-Cafe
mailing list