> That said, I don't know many Java classes that have value-yielding semantics.
> And if you are writing your own class, you can implement the IDeref interface.
There aren't many value-yielding semantics from many java classes, but
the ones I care about, do matter. Also, in my case, I'm adding v
On Thu, Aug 25, 2011 at 11:40 AM, Stuart Halloway
wrote:
>> Has there been discussion about making clojure.lang.IDeref a protocol?
>
> Someday. The challenge is load order. A lot would have to change to make
> protocols available early enough in Clojure's bootstrap to a
> Hey,
>
> Has there been discussion about making clojure.lang.IDeref a protocol?
> I'd like to extend some java types to this the IDeref interface but
> currently this is not possible. I feel like this is such a common
> idiom, to get values, and doing so will allow me to
Hey,
Has there been discussion about making clojure.lang.IDeref a protocol?
I'd like to extend some java types to this the IDeref interface but
currently this is not possible. I feel like this is such a common
idiom, to get values, and doing so will allow me to leverage the @
reader macr