Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-05 Thread Roman Cheplyaka
* Andrea Vezzosi [2012-09-05 03:13:56+0200] > I've pushed the discussed changes to the repo[1], it'd be good if you > (and other users) could test them before they get to hackage. > > [1] darcs get http://patch-tag.com/r/Saizan/syb-with-class/ I confirm that it fixed my problem. Thank you! --

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-04 Thread Andrea Vezzosi
I've pushed the discussed changes to the repo[1], it'd be good if you (and other users) could test them before they get to hackage. [1] darcs get http://patch-tag.com/r/Saizan/syb-with-class/ -- Andrea ___ Haskell-Cafe mailing list Haskell-Cafe@haskell

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-03 Thread Andrea Vezzosi
On Mon, Sep 3, 2012 at 2:53 PM, Roman Cheplyaka wrote: > * Andrea Vezzosi [2012-09-03 12:50:03+0200] >> > [...] >> >> This is pretty similar to what ended up being a ghc bug, fixed in 7.0 though: >> http://hackage.haskell.org/trac/ghc/ticket/3731 > > The difference between my test case and the on

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-03 Thread Roman Cheplyaka
* Andrea Vezzosi [2012-09-03 12:50:03+0200] > On Mon, Sep 3, 2012 at 12:00 PM, Roman Cheplyaka wrote: > > There's a bug in syb-with-class reported by Alexey Rodriguez Yakushev in > > 2008 [1]. I can confirm that the bug is still there (syb-with-class-0.6.1.3, > > ghc 7.4.1). > > > > [1]: http://w

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-03 Thread Andrea Vezzosi
On Mon, Sep 3, 2012 at 12:00 PM, Roman Cheplyaka wrote: > There's a bug in syb-with-class reported by Alexey Rodriguez Yakushev in > 2008 [1]. I can confirm that the bug is still there (syb-with-class-0.6.1.3, > ghc 7.4.1). > > [1]: http://www.haskell.org/pipermail/haskell-cafe/2008-March/041179.h

[Haskell-cafe] SYB with class: Bug in Derive.hs module

2012-09-03 Thread Roman Cheplyaka
There's a bug in syb-with-class reported by Alexey Rodriguez Yakushev in 2008 [1]. I can confirm that the bug is still there (syb-with-class-0.6.1.3, ghc 7.4.1). [1]: http://www.haskell.org/pipermail/haskell-cafe/2008-March/041179.html Here's an even simpler test case: {-# LANGUAGE FlexibleC

RE: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2008-09-16 Thread Simon Peyton-Jones
ommit the fix tomorrow. Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of | Alexey Rodriguez Yakushev | Sent: 31 March 2008 14:47 | To: haskell-cafe | Cc: [EMAIL PROTECTED]; Ralf Laemmel | Subject: [Haskell-cafe] SYB with class: Bug in Derive.hs module

Re: [Haskell-cafe] SYB with class: Bug in Derive.hs module

2008-04-02 Thread Ian Lynagh
On Mon, Mar 31, 2008 at 03:47:04PM +0200, Alexey Rodriguez Yakushev wrote: > > The Data instance that Derive generates is as follows: > > > instance (Data ctx a, > > Data ctx (BinTree a), > > Sat (ctx (BinTree a))) => > > Data ctx (BinTree a)

[Haskell-cafe] SYB with class: Bug in Derive.hs module

2008-03-31 Thread Alexey Rodriguez Yakushev
Hi people (and Ralf and Alex), I found a bug in the SYB with class library when trying to implement generic equality. I am hoping that someone in the Cafe (maybe Ralf) can confirm it is a bug, or maybe show me that I am doing something wrong. I am using the "Scrap your boilerplate with cl