4 ms·
There are some consistency issues with multidimensional arrays versus dictionaries, so BQN will eventually support these as system functionality. See https://ne
by mlochbaum 4y ago
There are some consistency issues with multidimensional arrays versus dictionaries, so BQN will eventually support these as system functionality. See https://news.ycombinator.com/item?id=31367355 https://news.ycombinator.com/item?id=31367355.
I think you have Q's transformation backwards (a table is a "flipped" dictionary of lists, that is, a list of dictionaries all with the same keys, represented as a dictionary of lists). Obviously it's good for databases, but I don't think every field benefits from this representation. With objects, users can implement such a thing for themselves.
Documentation for the array display at https://mlochbaum.github.io/BQN/doc/arrayrepr.html https://mlochbaum.github.io/BQN/doc/arrayrepr.html.