(And, entertainingly, because the incorrect version is perfectly
valid source code, no compiler errors or warnings...)
If you actually turn on compiler warnings (-Wall), I think you will
see something like
andrew.hs:10:10:
Warning: This binding for `eVENT_QUIT' shadows the existing binding
defined at EventLog.hs:43:0
In a case alternative
and so forth, for every incorrect alternative.
Regards,
Malcolm
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe