ndmitchell / uniplate

Haskell library for simple, concise and fast generic operations.
Other
76 stars 8 forks source link

Uniplate.Data loops on increasing data types #10

Open ndmitchell opened 9 years ago

ndmitchell commented 9 years ago

From https://code.google.com/p/ndmitchell/issues/detail?id=253

I strongly suspect that Uniplate.Data will fail on this type:

data Foo a = Foo (Foo (Foo a)) (Foo (Foo a)) | Bar

They aren't to common in practice, but it should be fixable if anyone was interested.