Closed h3rald closed 2 years ago
A way around it was to use
(()) apply
instead of ()
Checked the code and it indeed modifies the provided quotation instead of returning a new one, which is exactly what you noticed.
This is not a general problem luckily and just a "special" behavior of the cons
operator. I cannot understand or remember why I coded it in this way; perhaps it was just a too-literal interpretation of a definition of the operator I read somewhere.
The fix should be easy enough.
Fixed in v0.37.0
I'm confused by this behavior of cons. It seems new items are added to the original empty list.
That is not what happens in Joy
Originally posted by @DanielAjoy in https://github.com/h3rald/min/discussions/173