On Fri, Sep 17, 2010 at 10:49 AM, Nicolas Oury <nicolas.o...@gmail.com> wrote: > I was just saying that not returning something that is a pair, for > example nil, is good enough.
The implement is equivalent, most languages I know that has unfold use your approach(i.e. return Maybe<e,s> or None). This link use the unfold p f g form http://webcache.googleusercontent.com/search?q=cache:ksRX1JVmxFgJ:www.comlab.ox.ac.uk/jeremy.gibbons/publications/unfold.ps.gz+unfold+p+f+g&cd=5&hl=en&ct=clnk&gl=ca -- 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