aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
authorEduardo Julian2021-09-03 21:51:30 -0400
committerEduardo Julian2021-09-03 21:51:30 -0400
commit891b1cfc82322f8017f0a4f6b707d6fe52024545 (patch)
tree957429c0a2ad850b3570492deabe054fb2ace63e /stdlib/source/documentation
parente76add6e6f904677f5c09bb2a66dce283f1b848a (diff)
Unified tuple and record syntax.
Diffstat (limited to 'stdlib/source/documentation')
-rw-r--r--stdlib/source/documentation/lux.lux5
-rw-r--r--stdlib/source/documentation/lux/type/poly.lux4
2 files changed, 4 insertions, 5 deletions
diff --git a/stdlib/source/documentation/lux.lux b/stdlib/source/documentation/lux.lux
index b7f1025ad..85b93f5f7 100644
--- a/stdlib/source/documentation/lux.lux
+++ b/stdlib/source/documentation/lux.lux
@@ -497,8 +497,8 @@
\n "WARNING: Only use it within the type: macro.")
[(type: Refer
(Record
- {#refer_defs Referrals
- #refer_open (List Openings)}))])
+ [#refer_defs Referrals
+ #refer_open (List Openings)]))])
(documentation: /.type:
"The type-definition macro."
@@ -717,7 +717,6 @@
[identifier ["yolo" "lol"] "yolo.lol"]
[form (list (bit #1)) "(#1)"]
[tuple (list (bit #1)) "[#1]"]
- [record (list [(bit #1) (int +123)]) "{#1 +123}"]
)]
($_ and
<tests>
diff --git a/stdlib/source/documentation/lux/type/poly.lux b/stdlib/source/documentation/lux/type/poly.lux
index bbdbfd0d0..88558bd17 100644
--- a/stdlib/source/documentation/lux/type/poly.lux
+++ b/stdlib/source/documentation/lux/type/poly.lux
@@ -33,7 +33,7 @@
(type: Record
(.Record
- {#bit Bit
+ [#bit Bit
#frac Frac
#text Text
#maybe (Maybe Frac)
@@ -43,7 +43,7 @@
#tuple [Bit Text Frac]
#recursive Recursive
#date Date
- #grams (Qty Gram)}))
+ #grams (Qty Gram)]))
(derived: equivalence
($equivalence.equivalence