Skip to content

Split representation for structure-transposed mapping

Latest
Compare
Choose a tag to compare
@ivannz ivannz released this 14 Jun 10:05
· 9 commits to main since this release

This release implements backend functionality to compute a function on the leaf data of nested objects and return the results in a split form (.flatapply):

  1. a depth-first flat list of the returned values
  2. the skeletal structure of the used objects with dummy values in the leaves

This representation allows computing structure-transposed application of a callable to nested objects, i.e. when a function itself returns a structured object.