(1) lazy-cat is old. There's no reason to use it anymore; lazy-seq is better for generating custom lazy seqs, and concat is already lazy. (2) declare is overkill for this; just use letfn and avoid creating a bunch of global functions that nobody else will ever use.
On Mar 27, 9:43 am, Christian Schuhegger <christian.schuheg...@gmail.com> wrote: > Finally! I have a solution. You can have a look at it > here:https://gist.github.com/889354/ > > I would like to hear comments about how to do it better or in a more > idiomatic clojure way. > > Especially I am uncertain about my use of "binding" and the top level > declares. I needed the ability to reference the symbols from the > mutually recursive sequences and in addition the symbols needed to > have "dynamic extent". -- 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