aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2020-07-08 20:47:51 -0500
committerColin Okay <cbeok@protonmail.com>2020-07-08 20:47:51 -0500
commit0e356876160ccc13f4e3927891ab5543dce7e345 (patch)
tree32be1c233518ead6fb2dabd16d2689a3e407a228
parent2aeb1d46e8bfa2c976c9db54033ab6995ad6c5b4 (diff)
funny wording in thread-through docstring
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 87767c4..506b653 100644
--- a/README.md
+++ b/README.md
@@ -494,12 +494,12 @@ generator constructor called `thread-through`.
(defun thread-through (elem vec)
"Creates a generator that produces a series of N vectors of length
N, where N is one greater than the length of VEC. The vectors
- produced by this generator have the same elements of VEC but have ELEM
+ produced by this generator have the same contents as VEC but have ELEM
inserted at each possible spot, N spots in all.
Note: The generator reuses the memory that it returns on each step. If
- you intend to collect to products of the generator, you should copy
- them to somehow first."
+ you intend to collect the values of the generator, you should copy
+ them on each iteration."
(let ((buffer (concatenate 'vector vec (list elem)))) ;; reusable buffer
(map! (lambda (idx)