On Tue, Dec 21, 2010 at 4:01 PM, Andrew Boekhoff <[email protected]>wrote:
> > (defn [f k x] > (if (time-to-return? x) > (k x) > (g (fn [x*] (k (do-stuff-to x*))) > x))) > > (defn [g k x] > (if (time-to-return? x) > (k x) > (f (fn [x*] (k (do-other-stuff-to x*))) > x))) No, great example! Good point, I don't see any obvious way to handle that with just lazy-seqs. But lazy-seqs + trampoline seems like it would fit the bill just fine? David -- 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
