guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: website: Make wording of docstring more precise.


From: Florian Pelz
Subject: 01/01: website: Make wording of docstring more precise.
Date: Sun, 27 Oct 2019 04:52:29 -0400 (EDT)

pelzflorian pushed a commit to branch master
in repository guix-artwork.

commit 5be868315342b42bbc862f3afc4062b398e1a412
Author: Florian Pelz <address@hidden>
Date:   Sun Oct 27 08:48:18 2019 +0000

    website: Make wording of docstring more precise.
    
    * website/apps/aux/lists.scm (take-random): Improve docstring.
---
 website/apps/aux/lists.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/website/apps/aux/lists.scm b/website/apps/aux/lists.scm
index 4a27ac1..6651a55 100644
--- a/website/apps/aux/lists.scm
+++ b/website/apps/aux/lists.scm
@@ -54,9 +54,9 @@
               (cons separator (separate (rest los) separator))))))
 
 (define (take-random list n)
-  "Return a list containing N elements from LIST, if possible, chosen
-randomly and evenly distributed.  If LIST has less than N elements,
-the result is a permutation of LIST."
+  "Return a list containing N different elements from LIST, if
+possible, chosen randomly and evenly distributed.  If LIST has less
+than N elements, the result is a permutation of LIST."
   (let loop ((list list)
              (n n)
              (len (length list)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]