[Haskell-cafe] Wrapping all fields of a data type in e.g. Maybe
michael at orlitzky.com
Mon Jul 22 03:22:30 CEST 2013
On 07/20/2013 04:49 PM, adam vogt wrote:
> Hi Michael,
> It's fairly straightforward to generate the new data with template
> haskell , and on the same page, section "10.7 'generic' zipWith" is
> likely to be similar to your merging code.
>  <http://www.haskell.org/haskellwiki/Template_Haskell#Generating_records_which_are_variations_of_existing_records>
I don't know any TH yet, but this looks like it just might work. Thanks
for the suggestion!
More information about the Haskell-Cafe