I have a list,
l1 = {{a, b, 3, c}, {e, f, 5, k}, {n, k, 12, m}, {s, t, 1, y}}
and want to apply differences on the third parts and keep the parts right of the numerals collected.
My result should be
l2 = {{2, c, k}, {7, k, m}, {-11, m, y}}
I tried Map and MapAt, but I could not get anywhere. I could work around split things up and connect again. But is there a better way to do it?