Re: zip-reduce

2012-12-24 Thread Alan Malloy
ind >> anything like it in the zipper libary. Am I missing something? Is >> something like this implemented somewhere? >> >> (defn >> zip-reduce >> "Reduce called on a zipper." >> [f acc z] >> (if (zip/end? z) >> acc &g

Re: zip-reduce

2012-12-24 Thread Alan Malloy
wrote: > > The other day I wrote this as a utility function because I couldn't find > anything like it in the zipper libary. Am I missing something? Is > something like this implemented somewhere? > > (defn > zip-reduce > "Reduce called on a zipper.&

zip-reduce

2012-12-24 Thread JvJ
The other day I wrote this as a utility function because I couldn't find anything like it in the zipper libary. Am I missing something? Is something like this implemented somewhere? (defn zip-reduce "Reduce called on a zipper." [f acc z] (if (zip/end? z) acc (r