Chouser <[email protected]> writes:
>> I suppose I could write a Java wrapper class that implements the proper
>> interfaces.  Either using plain old Java or the Clojure proxy/gen-class
>> functions.
>
> That's probably the right way to go.  If you've got your own object
> (even if it's really just a Clojure hash-map with Tokyo Cabinet
> handles in it), and you want to be able to use Clojure core functions
> generally depend on specific Java interfaces that are defined in the
> clojure.lang package, and wrapping a proxy around that is usually
> pretty easy.

That sounds fine to me, thanks!  I'm going to stick to the interfaces in
clojure.lang and hope that's kosher.  (For example, clojure.lang.Counted)

Cheers,
Chris Dean

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to