diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/number/i64.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/number/i64.lux b/stdlib/source/lux/data/number/i64.lux index 6f30bcb44..321c628e9 100644 --- a/stdlib/source/lux/data/number/i64.lux +++ b/stdlib/source/lux/data/number/i64.lux @@ -12,7 +12,7 @@ (n/* bits-per-byte bytes-per-i64)) -(do-template [<name> <op> <doc>] +(template [<name> <op> <doc>] [(def: #export (<name> param subject) {#.doc <doc>} (All [s] (-> (I64 Any) (I64 s) (I64 s))) @@ -42,7 +42,7 @@ (def: compose ..and) ) -(do-template [<name> <op> <doc>] +(template [<name> <op> <doc>] [(def: #export (<name> param subject) {#.doc <doc>} (All [s] (-> Nat (I64 s) (I64 s))) @@ -83,7 +83,7 @@ (All [s] (-> Nat (I64 s) (I64 s))) (|> idx flag ..not (..and input))) -(do-template [<name> <op> <doc>] +(template [<name> <op> <doc>] [(def: #export (<name> idx input) {#.doc <doc>} (All [s] (-> Nat (I64 s) (I64 s))) @@ -97,7 +97,7 @@ (-> Nat (I64 Any) Bit) (|> input (:coerce I64) (..and (flag idx)) (n/= 0) .not)) -(do-template [<name> <main> <comp>] +(template [<name> <main> <comp>] [(def: #export (<name> distance input) (All [s] (-> Nat (I64 s) (I64 s))) (let [backwards-distance (n/- (n/% width distance) width)] |