posted 12 years ago
How I can collapse a nested map with "n" number of keys (tiers) to create a sequence of flat maps which are comprised of composite keys and a values.
For example, let's say we have:
I'd like to collapse the nest into a sequence of flat maps like: