diff options
Diffstat (limited to 'stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux b/stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux index cb65b8b85..b5ef432f6 100644 --- a/stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux +++ b/stdlib/source/lux/tool/compiler/phase/generation/js/runtime.lux @@ -89,16 +89,13 @@ (def: runtime-name (-> Text Var) (|>> /////name.normalize - (format prefix "$") + (format ..prefix "$") _.var)) (def: (feature name definition) (-> Var (-> Var Expression) Statement) (_.define name (definition name))) -(syntax: (code-name {definition-name s.local-identifier}) - (wrap (list (code.local-identifier (format "@" definition-name))))) - (syntax: #export (with-vars {vars (s.tuple (p.some s.local-identifier))} body) (wrap (list (` (let [(~+ (|> vars |