Church-encoded rose tree

added by DotNetKicks
7/29/2019 3:39:29 PM

1 Kicks, 195 Views

A rose tree is a tree with leaf nodes of one type, and internal nodes of another. This article is part of a series of articles about Church encoding. In the previous articles, you've seen how to implement a Maybe container, and how to implement an Either container.


0 comments