I read the part of your article (on lists and vectors) that you linked
to in another thread -

In the list section you show the function into and conj as applied to
lists, but these can also be applied to vectors and will return
vectors,

(into [1 2 3] [4 5]) => [1 2 3 4 5]
(conj [1 2 3] 4 5) => [1 2 3 4 5]

so perhaps mention should be made in the vector section? or perhaps it
would be better to discuss that many functions take a seq-able
argument. Some will return a list if provided a vector, but into and
conj preserve the type of their argument.

Also, you mention that vectors are "not efficient when new items need
to be added or removed quickly", but subvec should perhaps be
mentioned as an exception.

You've taken on a formidable task in writing this article, please know
that these comments are meant to be constructive and not a criticism
of your work.
--~--~---------~--~----~------------~-------~--~----~
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
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