Re: [Haskell-cafe] IMO ghc 6.8.2 misleading warning messages

2009-06-23 Thread Matthijs Kooijman
Hi Vasili, IMO the warning messages should be reversed! (parseOptional was never used .. called ... but I would strongly prefer the type signature warning first. Can you motivate why? Any order looks fine to me... Gr. Matthijs signature.asc Description: Digital signature

[Haskell-cafe] IMO ghc 6.8.2 misleading warning messages

2009-06-22 Thread Vasili I. Galchin
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