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

Use persistent hashmap as the underlying implementation of maps #414

Closed
xiaq opened this Issue Jul 8, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@xiaq
Member

xiaq commented Jul 8, 2017

No description provided.

@xiaq xiaq modified the milestones: 1.0, 0.10 Jul 8, 2017

@xiaq

This comment has been minimized.

Member

xiaq commented Jul 9, 2017

An assoc builtin for "modifying" persistent maps should also be implemented:

~> m = [&foo=bar &lorem=ipsum]
~> assoc $m foo quux # $m with &foo=quux
[&foo=quux &lorem=ipsum]
~> put $m # $m itself is unchanged
[&foo=bar &lorem=ipsum]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment