* Quick and dirty implementation of with'. with e1; e2' is
basically desugared to `let <with> = e1; e2', and `lookupVar' looks in each <with> in the environment chain for an attribute with the specified name.
This commit is contained in:
parent
3c9f8fc9b6
commit
25eedf085d
2 changed files with 56 additions and 6 deletions
|
|
@ -95,3 +95,4 @@ eTrue = makeBool(makeTrue())
|
|||
eFalse = makeBool(makeFalse())
|
||||
sOverrides = toATerm("__overrides")
|
||||
sNoAlias = toATerm("")
|
||||
sWith = toATerm("<with>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue