On Wed, Jul 29, 2009 at 11:06 PM, John Harrop <[email protected]> wrote:

> How about defining seqable? in terms of whether seq works, using try catch?
>

I think this is the only DRY way to do it, but I know Rich has expressed in
the past the he does not approve of using exception handling as a form of
flow control.

Stephen Gilardi added a seqable? function to clojure.contrib.core here:

http://github.com/richhickey/clojure-contrib/commit/bc07de7c3b1058f4263bd7b1c424f771fb010005

Regards,

- J.

--~--~---------~--~----~------------~-------~--~----~
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