21 Sep
2008
21 Sep
'08
8:32 a.m.
I've just started looking into TH to remove some of the tedious work of writing access functions for a few datatypes. However I've found precious few examples of "getting into" datatypes. Basically I want to get to 'dInt' and 'dString' in the datatype below: data Data = Data { dInt :: Int, dString :: String } /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus@therning.org Jabber: magnus@therning.org http://therning.org/magnus identi.ca|twitter: magthe