On Aug 1, 12:45 pm, Arthur Edelstein
wrote:
> > Wasn't Rich trying to come up with a solution which could be retrofitted
> > into Clojure ?
>
> I was trying to see how to avoid having to change anything in Clojure
> proper. In the strategy I'm humbly suggesting, the syntax from Clojure
> could w
> Wasn't Rich trying to come up with a solution which could be retrofitted
> into Clojure ?
I was trying to see how to avoid having to change anything in Clojure
proper. In the strategy I'm humbly suggesting, the syntax from Clojure
could work as-is. Just use same the dot notation (as in Clojure,
2011/8/1 Arthur Edelstein
> > > > One option is (. target :slot), possibly with the not-so-great
> (.:slot
> > > > target) as well.
> >
> > > Why not simply (target :slot) and (:slot target) as one means of
> >
> > (:slot target) would do what, when facing an object which implements the
> > Assoc
> > > One option is (. target :slot), possibly with the not-so-great (.:slot
> > > target) as well.
>
> > Why not simply (target :slot) and (:slot target) as one means of
>
> (:slot target) would do what, when facing an object which implements the
> Associative interface ?
Here's what I was trying
2011/8/1 Arthur Edelstein
> > One option is (. target :slot), possibly with the not-so-great (.:slot
> > target) as well.
>
> Why not simply (target :slot) and (:slot target) as one means of
>
(:slot target) would do what, when facing an object which implements the
Associative interface ?
> ac
> One option is (. target :slot), possibly with the not-so-great (.:slot
> target) as well.
Why not simply (target :slot) and (:slot target) as one means of
accessing field values. Then you can still have clojure's traditional
(.x target) execute when x is a function object and return x's value
On Jul 31, 2011, at 11:00 PM, Jack Moffitt wrote:
I'm having some trouble attempting to use interop with ClojureScript.
I'm trying to translate examples from the Closure book into
ClojureScript, and I keep getting stuck on various things.
1) When using goog.testing, it appears that I can't acc
I'm having some trouble attempting to use interop with ClojureScript.
I'm trying to translate examples from the Closure book into
ClojureScript, and I keep getting stuck on various things.
1) When using goog.testing, it appears that I can't access
goog.testing.TestRunner and goog.testing.TestCase