* 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:
Eelco Dolstra 2010-03-25 14:51:04 +00:00
parent 3c9f8fc9b6
commit 25eedf085d
2 changed files with 56 additions and 6 deletions

View file

@ -95,3 +95,4 @@ eTrue = makeBool(makeTrue())
eFalse = makeBool(makeFalse())
sOverrides = toATerm("__overrides")
sNoAlias = toATerm("")
sWith = toATerm("<with>")