aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/documentation/lux/data/collection/array.lux11
-rw-r--r--stdlib/source/documentation/lux/data/text.lux12
2 files changed, 10 insertions, 13 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/array.lux b/stdlib/source/documentation/lux/data/collection/array.lux
index e36cba1a8..ce1d461c5 100644
--- a/stdlib/source/documentation/lux/data/collection/array.lux
+++ b/stdlib/source/documentation/lux/data/collection/array.lux
@@ -84,12 +84,10 @@
[(of_list xs)])
(documentation: /.list
- "Yields a list with every non-empty item in the array."
- [(list array)])
-
-(documentation: /.list'
- "Like 'list', but uses the 'default' value when encountering an empty cell in the array."
- [(list' default array)])
+ (format "Yields a list with every non-empty item in the array."
+ \n "Can use the optional default value when encountering an empty cell in the array.")
+ [(list #.None array)
+ (list (#.Some default) array)])
(.def: .public documentation
(.List $.Module)
@@ -113,7 +111,6 @@
..clone
..of_list
..list
- ..list'
($.default /.type_name)
($.default /.equivalence)
($.default /.monoid)
diff --git a/stdlib/source/documentation/lux/data/text.lux b/stdlib/source/documentation/lux/data/text.lux
index 7887d97f6..690eacd4b 100644
--- a/stdlib/source/documentation/lux/data/text.lux
+++ b/stdlib/source/documentation/lux/data/text.lux
@@ -27,9 +27,9 @@
"Yields the character at the specified index."
[(char index input)])
-(documentation: /.index'
+(documentation: /.index_since
""
- [(index' from pattern input)])
+ [(index_since from pattern input)])
(documentation: /.index
""
@@ -75,9 +75,9 @@
"Clips a chunk of text from the input at the specified offset and of the specified size."
[(clip offset size input)])
-(documentation: /.clip'
+(documentation: /.clip_since
"Clips the remaining text from the input at the specified offset."
- [(clip' offset input)])
+ [(clip_since offset input)])
(documentation: /.split_at
""
@@ -114,7 +114,7 @@
[..Char
..line_feed
..char
- ..index'
+ ..index_since
..index
..last_index
..starts_with?
@@ -126,7 +126,7 @@
..enclosed
..enclosed'
..clip
- ..clip'
+ ..clip_since
..split_at
..split_by
..all_split_by