On 8月16日, 下午6时29分, Jarkko Oranen <chous...@gmail.com> wrote:
> I think using a zipper is a good solution
but clojure.zip seems only support limit operates,i want it support "
mark and merge " functions
>You should never use def inside a function. It's a certain sign that
>you're doing something wrong. Why don't you just return the result
> normally?
i want to update global var without using ref stuff :)
> That said, I can't think of a fast solution for this either; but you
> can wrap the (concat ...) in (vec (set ...)) to get a vector of
> uniques.
it works, but specially ugly :)
> I have to say I haven't had the need to do much with nested seqs, but
> I suppose for that purpose clojure.zip would be worth learning more in
> depth. It is designed for traversing and "editing" data structures,
> after all.
>
> --
sure,clojure.zip is great tool .
bot
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---