Derived Read for records

12 Jun
2012
12 Jun
'12
8:58 p.m.
Someone at work just asked me about the inflexibility of the derived Read instances for records -- specifically that they require fields to be given in the same order as in the type definition and that fields cannot be omitted. I hadn't been aware of these restrictions. A few questions: * Are there known work-arounds? * Is it particularly difficult to synthesize more flexible Read instances? * Do people just not mind the restrictions? Thanks, -- Conal
4840
Age (days ago)
4840
Last active (days ago)
0 comments
1 participants
participants (1)
-
Conal Elliott