HI all
I am in trouble with the following patch programming.
Let’say I have ((0 a)(0 b)(1 c)(2 d)(2 e)(3 f)…))
I want to extract the sublists whose 1st element is (1) and/or (2),
[Expected output: ((1 c)(2 d)(2 e))]
then group together sub-lists with the same 1st element
[Expected output: ((1)©)((2)(d e))]
Guess 1st step has to do with sort-list, but don’t have any success for the while…
Thanks for the help anybody…
Didier