Change list in place : scheme/impromtu

/ Published in: Scheme
Save to your folder(s)

set-car! and set-cdr! change a list 'in-place'.

But, if you like the pointer metaphore... you could use macro's
instead of procedures...

stupidly simple example...

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.