pyret-lang icon indicating copy to clipboard operation
pyret-lang copied to clipboard

table-from-column errors

Open shriram opened this issue 3 years ago • 0 comments

It's unclear to me why table-from-columns cannot work with empty lists, for creating an empty table of the right shape that will be populated programmatically. The document does not indicate that this would not work. However, the code

[T.table-from-columns:
    {"a"; [list: ]},
    {"b"; [list: ]}
  ]

produces what is essentially an internal error:

image

shriram avatar Aug 13 '22 19:08 shriram