Re: [Haskell-cafe] I confused myself with generics, and now I confused ghc too

2011-07-19 Thread José Pedro Magalhães
Hi Ari, I won't really try to answer your question, but I'll give you the code for gzipWithQ written by Alexey Rodriguez Yakushev some years ago for his comparison on generic programming libraries. The original darcs repo no longer exists, but here is the file which I think is relevant for you:

[Haskell-cafe] I confused myself with generics, and now I confused ghc too

2011-07-18 Thread Ari Rahikkala
I want to implement generic comparison on top of syb-with-class, and based on looking at syb, it seems I could base it on something like gzipWithQ from syb's Data.Generics.Twins. However, there's no Data.Generics.SYB.WithClass.Twins. So I set out to see if I can write one myself (well, one with