On Jan 23, 1:47 pm, Christian Vest Hansen <karmazi...@gmail.com>
wrote:
> I type this expression in the REPL (trunk 1228):
>
> user=> (let [s (.keySet {:a 1})] [(set? s) (ifn? s)])
> [false false]
>
> But I expected it to return [true true].
>
Why? keySet is specified to return a java.util.Set, and that is what
it does. set? tests for IPersistentSet.
Rich
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---