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
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.&
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