diff options
author | Eduardo Julian | 2021-09-14 03:21:21 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-14 03:21:21 -0400 |
commit | ea15b844b51ff60f9785c6791507f813729f85c3 (patch) | |
tree | 601c99cec388abfc199316a7733480bfa34831d6 /stdlib/source/documentation | |
parent | 971767f1eafb22208912353d8709f11081f2d3c8 (diff) |
Better list pairing.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/data/collection/list.lux | 5 |
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 "" |