You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently BIND is a mutating operation, on the code you run it on. That means if you are to rebind a function body, you will be rebinding it for all calls to that function. I don't like this (at least most of the time, it's not what you want).
This is why I've spoken about "virtual binding" so much. I had suggested maybe IN would be non-mutating (hence allowed on const/locked arrays) while BIND would be mutating (not allowed on const/locked arrays).
Thinking about what are the rules of the Rebol game is hard, I do not know if you read this:
f: function [] [ a: 0 bind/new 'b 'a ] f
=>
** Internal Error: locked series expansion
(Obviously enough,
func
works well.)The text was updated successfully, but these errors were encountered: