Rose tree catamorphism

added by DotNetKicks
8/5/2019 4:10:44 PM

1 Kicks, 184 Views

The catamorphism for a tree with different types of nodes and leaves is made up from two functions. This article is part of an article series about catamorphisms. A catamorphism is a universal abstraction that describes how to digest a data structure into a potentially more compact value.