aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/world/time/instant.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/documentation/lux/world/time/instant.lux')
-rw-r--r--stdlib/source/documentation/lux/world/time/instant.lux95
1 files changed, 48 insertions, 47 deletions
diff --git a/stdlib/source/documentation/lux/world/time/instant.lux b/stdlib/source/documentation/lux/world/time/instant.lux
index ae5ffb421..71efafd6c 100644
--- a/stdlib/source/documentation/lux/world/time/instant.lux
+++ b/stdlib/source/documentation/lux/world/time/instant.lux
@@ -1,6 +1,6 @@
(.require
[library
- [lux (.except and)
+ [lux (.except)
["$" documentation]
[data
["[0]" text (.only \n)
@@ -8,49 +8,50 @@
[\\library
["[0]" /]])
-(.def .public documentation
- (.List $.Module)
- ($.module /._
- ""
- [($.definition /.of_millis)
- ($.definition /.millis)
- ($.definition /.equivalence)
- ($.definition /.order)
- ($.definition /.enum)
- ($.definition /.date)
- ($.definition /.time)
- ($.definition /.day_of_week)
-
- ($.definition /.Instant
- "Instant is defined as milli-seconds since the epoch.")
-
- ($.definition /.span
- ""
- [(span from to)])
-
- ($.definition /.after
- ""
- [(after duration instant)])
-
- ($.definition /.relative
- ""
- [(relative instant)])
-
- ($.definition /.absolute
- ""
- [(absolute offset)])
-
- ($.definition /.epoch
- "The instant corresponding to 1970-01-01T00:00:00Z.")
-
- ($.definition /.codec
- (format "Based on ISO 8601."
- \n "For example: 2017-01-15T21:14:51.827Z"))
-
- ($.definition /.now
- "Yields the current instant, as measured from the operating-system's clock.")
-
- ($.definition /.of_date_time
- ""
- [(of_date_time date time)])]
- []))
+(def .public documentation
+ (List $.Documentation)
+ (list ($.module /._
+ "")
+
+ ($.definition /.of_millis)
+ ($.definition /.millis)
+ ($.definition /.equivalence)
+ ($.definition /.order)
+ ($.definition /.enum)
+ ($.definition /.date)
+ ($.definition /.time)
+ ($.definition /.day_of_week)
+
+ ($.definition /.Instant
+ "Instant is defined as milli-seconds since the epoch.")
+
+ ($.definition /.span
+ ""
+ [(span from to)])
+
+ ($.definition /.after
+ ""
+ [(after duration instant)])
+
+ ($.definition /.relative
+ ""
+ [(relative instant)])
+
+ ($.definition /.absolute
+ ""
+ [(absolute offset)])
+
+ ($.definition /.epoch
+ "The instant corresponding to 1970-01-01T00:00:00Z.")
+
+ ($.definition /.codec
+ (format "Based on ISO 8601."
+ \n "For example: 2017-01-15T21:14:51.827Z"))
+
+ ($.definition /.now
+ "Yields the current instant, as measured from the operating-system's clock.")
+
+ ($.definition /.of_date_time
+ ""
+ [(of_date_time date time)])
+ ))