[Haskell-cafe] Replace data constructors via meta programming

Peter Simons simons at nospf.cryp.to
Mon Feb 12 09:38:25 UTC 2018


Frerich Raabe <raabe at froglogic.com> writes:

> You might benefit from the 'catamorphism' package:
>
>   https://hackage.haskell.org/package/catamorphism-0.5.1.0/docs/Data-Morphism-Cata.html

catamorphism would be a great solution to this kind of problem, but
unfortunately it does not work with any 8.x version of GHC:

  https://github.com/frerich/catamorphism/issues/5

That makes its use impractical for most purposes, IMHO.

Best regards,
Peter



More information about the Haskell-Cafe mailing list