aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/time/instant.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/time/instant.lux')
-rw-r--r--stdlib/source/lux/time/instant.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux
index 68a86bf9d..4f14555f9 100644
--- a/stdlib/source/lux/time/instant.lux
+++ b/stdlib/source/lux/time/instant.lux
@@ -1,7 +1,7 @@
(.module:
lux
(lux [io #- run]
- (control equality
+ (control equivalence
order
enum
codec
@@ -46,12 +46,12 @@
(-> duration.Duration Instant)
(|> offset duration.to-millis :abstraction))
- (struct: #export _ (Eq Instant)
+ (struct: #export _ (Equivalence Instant)
(def: (= param subject)
- (:: number.Eq<Int> = (:representation param) (:representation subject))))
+ (:: number.Equivalence<Int> = (:representation param) (:representation subject))))
(struct: #export _ (Order Instant)
- (def: eq Eq<Instant>)
+ (def: eq Equivalence<Instant>)
(do-template [<name>]
[(def: (<name> param subject)
(:: number.Order<Int> <name> (:representation param) (:representation subject)))]