uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.59k stars 116 forks source link

Unsuccessful unbox but the array is box type #475

Closed ghost closed 6 months ago

ghost commented 7 months ago

So, I was making a quaternion project and I have a snippet of code: °¤regex "[0-9]" It return a boxed array. However, I add a °□ to the end and somehow still a boxed array.

kaikalii commented 6 months ago

That snippet will return a list of boxes, which °□ does nothing with. The box array must be a scalar. You likely want something like one of these.