[Haskell-cafe] Wrapping all fields of a data type in e.g. Maybe
adam vogt
vogt.adam at gmail.com
Sat Jul 20 22:49:10 CEST 2013
On Sat, Jul 20, 2013 at 12:14 AM, Michael Orlitzky <michael at orlitzky.com> wrote:
> For posterity, I report failure =)
Hi Michael,
It's fairly straightforward to generate the new data with template
haskell [1], and on the same page, section "10.7 'generic' zipWith" is
likely to be similar to your merging code.
[1] <http://www.haskell.org/haskellwiki/Template_Haskell#Generating_records_which_are_variations_of_existing_records>
--
Adam
More information about the Haskell-Cafe
mailing list