aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/time/instant.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/time/instant.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/time/instant.lux b/stdlib/source/lux/time/instant.lux
index 2b4d10394..b26707173 100644
--- a/stdlib/source/lux/time/instant.lux
+++ b/stdlib/source/lux/time/instant.lux
@@ -8,10 +8,10 @@
[monad (#+ do Monad)]]
[control
[io (#+ IO io)]
+ ["." try (#+ Try)]
["p" parser
["l" text (#+ Parser)]]]
[data
- ["." error (#+ Error)]
["." maybe]
[number
["." int ("#@." decimal)]]
@@ -300,7 +300,7 @@
## (shift (duration.scale-up utc-millis duration.milli))))))
## (def: (decode input)
-## (-> Text (Error Instant))
+## (-> Text (Try Instant))
## (l.run input lex-instant))
## (structure: #export _