Open raylutz opened 2 months ago
To solve this, will need to propagate whether the initial indexing specification was a single cell, or a range of cells. The singular flag should be propagated for each coordinate.
if both coordinates are singular, then insert a list or list of list entirely into the cell. if one coordinate is singular, but the other is not, then insert the list among the range of the non-singular range. if both coordinates are non-singular, then insert a list of list in row and col orientation.
There is ambiguity if a nested list structure is meant to be assigned to an array cell, when a list with one item is being inserted.
For example:
Currently, the code will insert just the value. But then:
will not insert the list, but just the value, which seems wrong.