Hacker News new | ask | show | jobs
by eru 4856 days ago
Yes. But in practice we almost never recurse through a data structure directly. We once recursively define a combinator to fold the datastructure, and then always use that combinator for working with the data structure.