
3 Jul
2008
3 Jul
'08
7:16 a.m.
On Thu, Jul 3, 2008 at 11:13 AM, Henning Thielemann
infix2 :: ((Char, Int), String) infix2 = (('b',7),"hallo")$%first^:second^=10
(second^=10) replaces the second member of pair with a value. (^:) applies that change to the outer record (again a pair). ($%) applies the modifier (first^:second^=10) to a concrete pair.
Hmm! Thanks for the pointer, but I'm not sure that would really clear things up much. It seems this may just be a wart I'll have to put up with. Cheers, D -- Dougal Stanton dougal@dougalstanton.net // http://www.dougalstanton.net