[Haskell-cafe] Which generic zipper? [RESOLVED]
Luke Evans
luke at eversosoft.com
Thu Apr 11 08:44:48 CEST 2013
Thanks Roman.
I'll probably go with Data.Data then. Certainly, I'm not looking for any significant distractions and I'll heed your cautionary note.
I read that GHC.Generics is fit and fast in comparison to SYB, but that's not really a big concern for me at the moment.
I just fell in to believing that GHC.Generics was the true religion given its apparent status as the adopted generics in GHC.
On 2013-04-10, at 11:24 PM, Roman Cheplyaka <roma at ro-che.info> wrote:
> Note that syz is essentially based on Data.Data, which is no less
> "official" than GHC.Generics. (The compiler can derive Data with
> -XDeriveDataTypeable.)
>
> You can write a zipper based on GHC.Generics, but it won't be a
> straightforward translation of syz (nor would it be a trivial
> undertaking).
>
> Roman
More information about the Haskell-Cafe
mailing list