LispCookbook/cl-cookbook

Feature Request: Explanation with examples of map-into

Opened this issue · 3 comments

mmh it's a destructive operation. Maybe we can explain it but not advertise it, preferring non-destructive operations.

That sounds like the functional thing to do.

Isn't push and pop a destructive operation or should we avoid adding more to the cookbook?

mmh it's a destructive operation. Maybe we can explain it but not advertise it, preferring non-destructive operations.

Oh just read your reply more carefully. Sorry. Yes, I'd like to just briefly explain it so that it can be documented. I agree with not advertising it if we don't want to encourage operations/programming that involves using lots of mutation.