diff options
Diffstat (limited to 'stdlib/source/lux/math/number/int.lux')
-rw-r--r-- | stdlib/source/lux/math/number/int.lux | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/lux/math/number/int.lux b/stdlib/source/lux/math/number/int.lux index b121fc216..708ab8dd4 100644 --- a/stdlib/source/lux/math/number/int.lux +++ b/stdlib/source/lux/math/number/int.lux @@ -163,18 +163,18 @@ (-> Int Frac) (|>> "lux i64 f64")) -(structure: #export equivalence +(implementation: #export equivalence (Equivalence Int) (def: = ..=)) -(structure: #export order +(implementation: #export order (Order Int) (def: &equivalence ..equivalence) (def: < ..<)) -(structure: #export enum +(implementation: #export enum (Enum Int) (def: &order ..order) @@ -182,7 +182,7 @@ (def: pred dec)) ## TODO: Find out why the numeric literals fail during JS compilation. -(structure: #export interval +(implementation: #export interval (Interval Int) (def: &enum ..enum) @@ -196,7 +196,7 @@ (//i64.left_shift 63 +1))) (template [<name> <compose> <identity>] - [(structure: #export <name> + [(implementation: #export <name> (Monoid Int) (def: identity <identity>) @@ -212,7 +212,7 @@ (def: +sign "+") (template [<struct> <codec> <error>] - [(structure: #export <struct> + [(implementation: #export <struct> (Codec Text Int) (def: (encode value) @@ -246,7 +246,7 @@ [hex //nat.hex "Invalid hexadecimal syntax for Int: "] ) -(structure: #export hash +(implementation: #export hash (Hash Int) (def: &equivalence ..equivalence) |