Sean Leather wrote:
That's interesting. So, maybe there should be some language extension or
warning (with associated -fno-warn) for this in GHC.
Personally, I prefer the way it's done now. (I guess that's obvious,
considering I'm developing a library that will take advantage of it. ;) )
But it
Ross Paterson wrote:
> On Fri, Aug 15, 2008 at 04:17:44PM +0200, Sean Leather wrote:
> > module A where
> > class A t where
> > a :: t
> >
> > module B where
> > import A
> > instance A Int where
> > a = 0
> > a0 :: Int
> > a0 = a
> >
> > module C where
> > import A
> > instance A Int where
>