Working through a combinations problem and attempting to output a list with a list of lists as input. Closest solution that I've found is here: All combinations of a list of lists
However, I do not want all combinations between lists, but within each list. For example
[[1],[2,3],[4,5,6]] -> [[1],[2],[3],[2,3],[4],[5],[6],[4,5],[4,6],
[5,6],[4,5,6]]