Hi Tim,

On Fri, Jun 8, 2012 at 12:11 PM, Tim Visher <tim.vis...@gmail.com> wrote:

>
> 2. While I would very much expect the type test (coll? seq?) to return
> false on a string, I would _not_ expect the capability test
> (sequential?) to return false, and it does for a String. Is this the
> expected behavior? I would think that any seqable would return true
> for sequential?. What do we think?


sequential? is a type predicate also. This probably works as expected in
CLJS
using protocols.

Every Seqable is not Sequential.

(sequential? {:a 1}) => false

Thanks,
Ambrose

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