Open felixcremer opened 7 months ago
The dimension has to pass through a format
call before any of that works, as happens in DimArray construction.
We cant do it on Dimension
construction because its not always type-stable or cost-free, and Dimensions
are used to wrap heaps of things besides LookupArray
.
I guess we could make these functions call format
? its currently all a bit obscure how the type detection actually works...
BTW what is the use-case for this?
I cant remember. I was debugging something and got surprised by this. I think we could clarify the docstring and then close it.
I would have expected to get Unordered() back from that call based on the docstring.