Feature Request: Explanation with examples of map-into
Opened this issue · 3 comments
vindarel commented
mmh it's a destructive operation. Maybe we can explain it but not advertise it, preferring non-destructive operations.
jgarte commented
That sounds like the functional thing to do.
jgarte commented
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.