From 16c69a69e0c754d77623f82047a8e0b90a569238 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 10 Jul 2020 08:27:18 -0500 Subject: export indexed!. readme tweaks --- README.md | 10 +++++----- package.lisp | 1 + 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! -- cgit v1.2.3