diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux b/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux index 2e661dc29..9a065a73e 100644 --- a/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux +++ b/stdlib/source/lux/tool/compiler/phase/generation/js/extension/common.lux @@ -20,7 +20,7 @@ ## [Procedures] ## [[Bits]] -(do-template [<name> <op>] +(template [<name> <op>] [(def: (<name> [paramG subjectG]) (Binary Expression) (<op> subjectG (///runtime.i64//to-number paramG)))] @@ -35,7 +35,7 @@ (#static MIN_VALUE Double) (#static MAX_VALUE Double)) -(do-template [<name> <const>] +(template [<name> <const>] [(def: (<name> _) (Nullary Expression) (///primitive.f64 <const>))] @@ -64,7 +64,7 @@ (Binary Expression) (|> subjectG (_.do "concat" (list paramG)))) -(do-template [<name> <runtime>] +(template [<name> <runtime>] [(def: (<name> [subjectG paramG extraG]) (Trinary Expression) (<runtime> subjectG paramG extraG))] |