xo-expression: + Lambda::nested_lambda_map
This commit is contained in:
parent
91a5a2b844
commit
4b0a2cff2a
5 changed files with 31 additions and 5 deletions
|
|
@ -8,7 +8,11 @@ namespace xo {
|
|||
void
|
||||
Variable::attach_envs(ref::brw<Environment> e) {
|
||||
/** e makes accessible all enclosing lexical scopes **/
|
||||
this->path_ = e->lookup_binding(this->name_);
|
||||
if (this->path_.i_link_ == -2 /*sentinel*/) {
|
||||
this->path_ = e->lookup_binding(this->name_);
|
||||
} else {
|
||||
/* have already established binding for this Variable */
|
||||
}
|
||||
} /*attach_envs*/
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue