
15 Oct
2013
15 Oct
'13
6:02 p.m.
On Tue, Oct 15, 2013 at 2:41 PM, AntC
- (What I was hoping for but didn't get.) No compiler flag to suppress creating selector functions. This would have allowed records to be declared re-using the same name; but left it entirely to the developer as to how to access them.
Does that mean that this won't work: module M where data T1 = C1 { f :: Int } data T2 = C2 { f :: Int } ? -- Johan