Well, with a statically typed language this would be a problem.

What if we used duck-typing to get around this?

Granted, this wouldn't work for anything that gets passed to Java, but
the following gist would be a start.

http://gist.github.com/176032

Now, We'd still have to address Mr. Pratley's issue of which fn to
implement, but now we have an option.  Thoughts?

Sean

On Aug 26, 10:01 pm, Rich Hickey <richhic...@gmail.com> wrote:
> On Aug 26, 9:46 pm, Timothy Pratley <timothyprat...@gmail.com> wrote:
>
> > > java.util.regex.Pattern
>
> > I imagine a wrapper class could be returned instead that implemented
> > IFn and Pattern,
>
> Unfortunately, Pattern is a final class.
>
> Rich
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to