Prohibition of *1, *2, etc. with Clojure's assoc-in function

64 views
Skip to first unread message

Michael Rice

unread,
Jul 23, 2016, 1:45:41 PM7/23/16
to Clojure
Why the prohibition?

Michael

James Reeves

unread,
Jul 23, 2016, 1:56:41 PM7/23/16
to clo...@googlegroups.com
What prohibition?

user=> {}
{}
user=> [:a]
[:a]
user=> 1
1
user=> (assoc-in *3 *2 *1)
{:a 1}

- James

On 23 July 2016 at 18:45, Michael Rice <limi...@gmail.com> wrote:
Why the prohibition?

Michael

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages