
29 Aug
2008
29 Aug
'08
9:40 a.m.
Maurício
However, this doesn't work:
data Test = Test Integer {b::String}
Is there some way to name only a single, or a few, of some data type fields?
data Test = Test Integer String b :: Test -> String b (Test i s) = s :-) -k -- If I haven't seen further, it is by standing in the footprints of giants