aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-09-15 08:27:11 -0500
committerColin Okay <colin@cicadas.surf>2022-09-15 08:27:11 -0500
commitbe0d5d29f9c824052eced5d079a1ffe624ad6143 (patch)
tree3f7cf850537284cc6fbada8d53688aa67b9c39a1
parent4a6999e8411ee4c66fad60b8687843676010f192 (diff)
error in md->org conversion
-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)