You should look at Clojure 1.2 protocols and records which provides an easy
way to do polymorphism on types.

See http://clojure.org/protocols.

On 18 August 2010 08:25, Mark Engelberg <[email protected]> wrote:

> I think the easiest way to port OO code would be to use Clojure's
> multimethods, dispatching on the type of the first argument.
>
> --
> 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]<clojure%[email protected]>
> 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 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