We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be nice to follow clojure's approach and have immutable data structures by default.
Pros:
Facilitates concurrency
Avoids the reference vs. value semantics problem; consider the following in Python:
>>> a = [[1]] * 5 >>> a [[1], [1], [1], [1], [1]] >>> a[0][0] = 2 >>> a [[2], [2], [2], [2], [2]]
However, we'd better still have $env and namespaces as mutable maps.
$env
The text was updated successfully, but these errors were encountered:
http://hypirion.com/musings/understanding-persistent-vector-pt-1 is a nice introduction to the Clojure implementation of persistent vectors.
Sorry, something went wrong.
An implementation of selected persistent data structures was pushed to https://github.com/xiaq/persistent some while ago.
Abandoned.
No branches or pull requests
It would be nice to follow clojure's approach and have immutable data structures by default.
Pros:
Facilitates concurrency
Avoids the reference vs. value semantics problem; consider the following in Python:
However, we'd better still have
$env
and namespaces as mutable maps.The text was updated successfully, but these errors were encountered: