aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <cbeok@protonmail.com>2020-07-10 08:27:18 -0500
committerColin Okay <cbeok@protonmail.com>2020-07-10 08:27:18 -0500
commit16c69a69e0c754d77623f82047a8e0b90a569238 (patch)
tree2a066096faf6ddaccd36105a4c4f791252bb5646
parent674824f91bf30c31086a069ce55a0d98ff279d6d (diff)
export indexed!. readme tweaks
-rw-r--r--README.md10
-rw-r--r--package.lisp1
2 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index c8c6924..8adc7cd 100644
--- a/README.md
+++ b/README.md
@@ -233,15 +233,15 @@ Here are some simple examples of their use:
(0 2 4 6 8)
-;; step up from N for each N in the range 1 to 4
+;; generate (times N) for each N in the range 1 to 4
> (collect (inflate! #'times (range :from 1 :to 4 :inclusive t)))
(0 0 1 0 1 2 0 1 2 3)
;; In the above example, you can see that
-;; first 0 is generated
-;; then 0 1
-;; then 0 1 2
-;; and finally 0 1 2 3
+;; first 0 is generated (times 1)
+;; then 0 1 (times 2)
+;; then 0 1 2 (times 3)
+;; and finally 0 1 2 3 (times 4)
```
diff --git a/package.lisp b/package.lisp
index a591b87..1923e2e 100644
--- a/package.lisp
+++ b/package.lisp
@@ -20,6 +20,7 @@
#:inflate!
#:concat!
#:zip!
+ #:indexed!
#:merge!
#:skip!
#:skip-while!