[Haskell-cafe] duplicate instance declarations. Why?
Alberto G. Corona
agocorona at gmail.com
Fri Oct 24 04:20:39 EDT 2008
with:
>{-# OPTIONS -fglasgow-exts -fallow-undecidable-instances #-}
>class A a
>class R a
>class S a
>instance R a => A a
>instance S a => A a
----------
GHC gives
*Duplicate instance declarations*
* instance R a => A a *
* instance S a => A a *
**
*Why?*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081024/cbf89b00/attachment.htm
More information about the Haskell-Cafe
mailing list