diff options
author | Eduardo Julian | 2021-01-11 02:05:30 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-01-11 02:05:30 -0400 |
commit | 8aac0c573c29d2829242d66539a9e027d03ff8ec (patch) | |
tree | 5b4b37d33b90ff24b3d9d019e31770d6d0b8dc9d /stdlib/source/lux/host.old.lux | |
parent | 706ce9e4916b65c4df5101bd3cc1b4da3b2057af (diff) |
Encapsulate JS definitions produced by the JS compiler in a local scope to avoid interacting with the global scope.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/host.old.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/host.old.lux b/stdlib/source/lux/host.old.lux index 95e2cb1ed..0d95d6e9e 100644 --- a/stdlib/source/lux/host.old.lux +++ b/stdlib/source/lux/host.old.lux @@ -19,10 +19,10 @@ [collection ["." array (#+ Array)] ["." list ("#\." monad fold monoid)]]] - [macro - ["." code] - [syntax (#+ syntax:)]] - ["." meta (#+ with_gensyms) + [macro (#+ with_gensyms) + [syntax (#+ syntax:)] + ["." code]] + ["." meta ["." annotation]]]) (template [<name> <op> <from> <to>] |