louiscad
05/12/2019, 10:09 PMLeland Richardson [G]
05/13/2019, 12:22 AMHeterogeneousList(data) { item -> when(item.type) { ... } }
and for grid, something like
Grid(rows, columns) { row, column -> ... }
Of course something truly general will probably have a lot of configurable options, but it’s really easy to create some of these simpler overloads if it fits your use case, cleaning up code significantly.