Warning when deriving Foldable/Traversable using -Wall

Alan & Kim Zimmerman alan.zimm at gmail.com
Wed Oct 8 13:00:43 UTC 2014


Ok, so stage2 is in fact behaving correctly, the stage1 code needs to have
CPP directives around it.

In other words this is not actually a bug.

Thanks
  Alan

On Wed, Oct 8, 2014 at 2:05 PM, Nicolas Trangez <nicolas at incubaid.com>
wrote:

> On Wed, 2014-10-08 at 14:00 +0200, Alan & Kim Zimmerman wrote:
> > The current HEAD gives a spurious unused declaration when deriving
> > Typable/Traversable
>
> Why would this be spurious, given `Foldable` and `Traversable` are now
> exported by `Prelude`, so those imports are in fact not necessary?
>
> Nicolas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20141008/85a94701/attachment-0001.html>


More information about the ghc-devs mailing list