aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation
diff options
context:
space:
mode:
authorEduardo Julian2021-09-14 03:21:21 -0400
committerEduardo Julian2021-09-14 03:21:21 -0400
commitea15b844b51ff60f9785c6791507f813729f85c3 (patch)
tree601c99cec388abfc199316a7733480bfa34831d6 /stdlib/source/documentation
parent971767f1eafb22208912353d8709f11081f2d3c8 (diff)
Better list pairing.
Diffstat (limited to '')
-rw-r--r--stdlib/source/documentation/lux/data/collection/list.lux5
1 files changed, 2 insertions, 3 deletions
diff --git a/stdlib/source/documentation/lux/data/collection/list.lux b/stdlib/source/documentation/lux/data/collection/list.lux
index a05c33072..6275507f7 100644
--- a/stdlib/source/documentation/lux/data/collection/list.lux
+++ b/stdlib/source/documentation/lux/data/collection/list.lux
@@ -32,9 +32,8 @@
[(partition satisfies? list)])
(documentation: /.pairs
- (format "Cut the list into pairs of 2."
- \n "Caveat emptor: If the list has an un-even number of elements, the last one will be skipped.")
- [(pairs xs)])
+ "Cut the list into pairs of 2."
+ [(pairs list)])
(documentation: /.split_at
""