Tag: Immutable

From List to Immutable Hierarchy-Tree (with Scala)

As part of my job at Hibob, I’ve been looking for a way to construct an Organizational-Chart out of a list of employees. This article shows one approach to creating an immutable tree structure out of a list of hierarchical objects. Org-Chart / bob Our input is a list o...