RE: [Haskell-cafe] problems with derive/TH

2008-06-04 Thread Simon Peyton-Jones
| World.hs:42:0: |No instances for (Eq (a (M.Map String Player)), | Eq (a (M.Map ItemId Item)), | Eq (a (M.Map PlayerId Player)), | Eq (a (M.Map RoomId Room)), | Eq (a RoomId)) | arising from the 'deriving'

Re: [Haskell-cafe] problems with derive/TH

2008-05-23 Thread Thomas Hartman
adding OPTIONS -XStandaloneDeriving made no difference The following patch fixed the problem. (Well, at least the mud program compiles. I haven't actually tried using it yet.) [EMAIL PROTECTED]:~/mud>darcs whatsnew { hunk ./World.hs 50 -deriving Eq +-- deriving Eq + +instance Eq (World TV

Re: [Haskell-cafe] problems with derive/TH

2008-05-23 Thread Alfonso Acosta
On Fri, May 23, 2008 at 5:11 PM, Thomas Hartman <[EMAIL PROTECTED]> wrote: > I am assuming this used to work, but something changed, either in TH > itself or switching from ghc6.6 to ghc6.8. The "deriving" rules of 6.8 are more restrictive in some cases. However, the same result can be obtained

Re: [Haskell-cafe] problems with derive/TH

2008-05-23 Thread Stuart Cook
On Sat, May 24, 2008 at 1:11 AM, Thomas Hartman <[EMAIL PROTECTED]> wrote: > World.hs:42:0: > No instances for (Eq (a (M.Map String Player)), > Eq (a (M.Map ItemId Item)), > Eq (a (M.Map PlayerId Player)), > Eq (a (M.Map RoomId Room)), >