From ea15b844b51ff60f9785c6791507f813729f85c3 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 14 Sep 2021 03:21:21 -0400 Subject: Better list pairing. --- stdlib/source/documentation/lux/data/collection/list.lux | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'stdlib/source/documentation') 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 "" -- cgit v1.2.3