catafold
function defined in module Pollen
function
Pollen
catafold(f, xtree, state)
Fold a function f : (node, state) -> (node', state') post-order over xtree and return a modified tree as well as the resulting state.
f : (node, state) -> (node', state')
xtree
Use cata for a stateless catamorphism and fold if you don't want to transform xtree.
cata
fold
There are 2 methods for Pollen.catafold:
Pollen.catafold
The following pages link back here:
Pollen.jl , xtree/catamorphisms.jl , xtree/xtree.jl