[Haskell-cafe] Replace data constructors via meta programming

Frerich Raabe raabe at froglogic.com
Mon Feb 12 09:45:52 UTC 2018


On 2018-02-12 10:38, Peter Simons wrote:
> 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.

Oh, drat. I forgot about that issue (I'm still not on GHC 8.x, ahem). :-(

-- 
Frerich Raabe - raabe at froglogic.com
www.froglogic.com - Multi-Platform GUI Testing


More information about the Haskell-Cafe mailing list