diff options
Diffstat (limited to 'stdlib/source/lux/time/instant.lux')
-rw-r--r-- | stdlib/source/lux/time/instant.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux index 4f14555f9..88058868b 100644 --- a/stdlib/source/lux/time/instant.lux +++ b/stdlib/source/lux/time/instant.lux @@ -46,11 +46,11 @@ (-> duration.Duration Instant) (|> offset duration.to-millis :abstraction)) - (struct: #export _ (Equivalence Instant) + (structure: #export _ (Equivalence Instant) (def: (= param subject) (:: number.Equivalence<Int> = (:representation param) (:representation subject)))) - (struct: #export _ (Order Instant) + (structure: #export _ (Order Instant) (def: eq Equivalence<Instant>) (do-template [<name>] [(def: (<name> param subject) @@ -59,7 +59,7 @@ [<] [<=] [>] [>=] )) - (struct: #export _ (Enum Instant) + (structure: #export _ (Enum Instant) (def: order Order<Instant>) (do-template [<name>] [(def: <name> @@ -298,7 +298,7 @@ (-> Text (e.Error Instant)) (l.run input lex-instant)) -## (struct: #export _ +## (structure: #export _ ## {#.doc "Based on ISO 8601. ## For example: 2017-01-15T21:14:51.827Z"} |