-Wall and deriving (Eq,Ord)

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Sun, 29 Sep 2002 22:47:09 +0200


Compiling the following module

    module Foo where data A = B | C deriving ( Eq, Ord )

with -Wall yields the spurious warning

    Foo.hs:1: Warning: Defined but not used: cmp_eq

Cheers,
    S.

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc