
1 Oct
2009
1 Oct
'09
8:52 a.m.
2009/10/1 Dmitry Astapov
Hi,
I've been playing with generics in general (pardon the pun) and Uniplate in particular, and found out that strict data fields somehow derail Uniplate.
I think this is related to Neil's bug report about Ratio: http://hackage.haskell.org/trac/ghc/ticket/2782 The issue is that the Data instance for your types is stricter than he is expecting. I don't know enough about Uniplate to work out why he can't tunnel the undefined's he's trying to send through Data by hiding then within a box. Cheers, Max