Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
After years of lisping I still haven't got round to using lambda. I have a situation now where I think one would be appropriate. I would normally sort this out with while or foreach or repeat but I'd like to attack this with lambda. I have a list of XYZ points and I would like to create a new list of the difference between the XY and Z of each point with reference to the first point. So:
'((10 10 110) (10 34 3) (56 89 245))
would result in
'((0 0 0) (0 24 -107) (46 79 135))
Could someone very kindly point me in the right direction?
S
Solved! Go to Solution.