Meikel Brandmeyer <brandmeyer.mei...@gmail.com> writes:
> 2013/9/20 Phillip Lord <phillip.l...@newcastle.ac.uk>
>> (def bob3 3)
>>
>> introduces a new symbol, I am struggling to see why
>>
>> (intern 'user 'bob3 3)
>>
>> cannot be recognised similarly.
>>
>
> Because intern happens at runtime. It's a normal function. The above intern
> call is easily translated to the def. intern is only interesting when bob3
> is computed based on runtime information, which is not available at compile
> time. But then the compile cannot special case it anyway.


>From a user perspective, I think that this is very messy. I can see your
example about "do", but then I think using a common form like do is a
mistake; having "do" behave differently depending on whether it is top
level or not is exposing a lot of detail that should not be.

Phil

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to