On Tuesday, February 28, 2017 at 9:40:12 PM UTC+1, Alex Miller wrote:
>
> If it follows Java bean semantics, you can use the `bean` function to view 
> it as a map with properties as keys.
>
 
The class is not actually a bean. It contains a map, with a 
.getPropertyValue method, but it doesn't implement Map.

Wouldn't it be better if ILookup were a protocol?
>>
>
> Yes, it would be better. But this would require rewriting Clojure's lib as 
> protocols did not exist when it was written.
>

Is that very traumatic? Are protocols compiled into a Java interface?

-- 
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/d/optout.

Reply via email to