On Wed, Aug 18, 2010 at 11:41 AM, Nicolas Oury wrote:
> And is the one that works (for non-mutable fields) reliable or just an
> implementation accident that could change in the future?
I'm assuming it's reliable for 1.2.0.
--
You received this message because you are subscribed to the Google
And is the one that works (for non-mutable fields) reliable or just an
implementation accident that could change in the future?
On Wed, Aug 18, 2010 at 4:27 PM, Nicolas Oury wrote:
> And they need to be in an interface first?
>
--
You received this message because you are subscribed to the Goog
And they need to be in an interface first?
--
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 unsub
On Wed, Aug 18, 2010 at 10:06 AM, Nicolas Oury wrote:
> This works
>
> (deftype A [a])
>
> (.a (A. 5))
>
> This don't
>
> (deftype A [^{:volatile-mutable true} a])
>
> (.a (A. 5))
>
> Is this normal? Is this a bug?
>
> How could I access the field?
>
> Best,
>
> Nicolas.
>
It's not a bug. You nee
This works
(deftype A [a])
(.a (A. 5))
This don't
(deftype A [^{:volatile-mutable true} a])
(.a (A. 5))
Is this normal? Is this a bug?
How could I access the field?
Best,
Nicolas.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi