Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Explanation with examples of map-into #442

Open
jgarte opened this issue Apr 11, 2022 · 3 comments
Open

Feature Request: Explanation with examples of map-into #442

jgarte opened this issue Apr 11, 2022 · 3 comments

Comments

@jgarte
Copy link
Collaborator

jgarte commented Apr 11, 2022

http://www.lispworks.com/documentation/HyperSpec/Body/f_map_in.htm

@vindarel
Copy link
Contributor

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

@jgarte
Copy link
Collaborator Author

jgarte commented Apr 11, 2022

That sounds like the functional thing to do.

@jgarte
Copy link
Collaborator Author

jgarte commented Apr 11, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants