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

Implement ILookUp and clojure.lang.Associative for TitanElements #28

Open
ZackGC opened this issue Dec 18, 2012 · 0 comments
Open

Implement ILookUp and clojure.lang.Associative for TitanElements #28

ZackGC opened this issue Dec 18, 2012 · 0 comments

Comments

@ZackGC
Copy link
Contributor

ZackGC commented Dec 18, 2012

This would give us some crazy super powers, as seen on stack overflow

Particularly the following

(:age (v/create! {:age 1))
;;1 
(:age (assoc (v/create! {:age 1}) :age 10))
;;10
(:age (update-in (v/create! {:age 1}) [:age] inc))
2

Not sure we can or should do Associative, but ILookUp definitely.

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

No branches or pull requests

1 participant