Well, Symbols implement the IFn and if you look at the invoke method, the
arg passed to it is considered to be a map (I guess more like an
environment it expects in which it will try to look for the symbol)
Anyways, since you've passed in a number, the look up in RT.getFrom leads
to a null hence the nil
('f1 {'f1 3}) returns 3 FYI and ('f 1 'not-found) returns 'not-found
On Saturday, October 26, 2019 at 10:35:25 PM UTC+5:30, Johannes wrote:
>
> ... instead of an exception?
>
> Can anyone explain it to me?
>
> Johannes
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/clojure/f4fdcc4b-0145-49de-acec-5c2d815bcaa1%40googlegroups.com.