> For the program, I know that when processing a character, I do not > need the previous result. All I need is the current character, and I > can return a function that acts on the result. I'm not sure if this is > simple to implement in a functional way.
Actually my understanding says that you need the whole list as this cannot be implemented as lazy ? (you might have any number of backspaces ahead so you need all the result) See also: http://kotka.de/blog/2009/11/Stopping%20Times%20and%20Laziness.html Thanks -- 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