Hi folks,
Here is a new package providing lightweight, general purpose utilities for working with tree-structured data:
It allows you to take any data exhibiting tree structure and lazily construct a stream representation of it using functions that presumably already exist in your application, if the data indeed already possesses tree structure.
The library leverages the corresponding tree structure of nested lists (streams) to perform standard operations on data that has such structure, for instance, providing operations analogous to map, filter, and fold, for trees and with lazy semantics.
The laziness is inherited from the collection utilities in the excellent
data/collection library, and more generally, Racket
streams.
Enjoy,
-Sid