aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.org4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.org b/README.org
index 4723c26..b2d799a 100644
--- a/README.org
+++ b/README.org
@@ -39,7 +39,7 @@ example apears at the end of the document, following the tutorial.
> (defun all-primes ()
"Creates a generator that produces an infinite series of primes."
- (filter! *'prime-p (range :from 2)))
+ (filter! #'prime-p (range :from 2)))
> (take 10 (all-primes)) ;; (2 3 5 7 11 13 17 19 23 29)
@@ -685,7 +685,7 @@ the previous section, you may be tempted to manually call =next= and
=has-next-p= on your generators. If you must do this, you should use
the =with-generator= macro:
-#+end_srclisp
+#+begin_src lisp
> (with-generator (gen (seq "a1b2c3"))
(when (gtwiwtg::has-next-p gen)