Skip to content

Commit 76c49c2

Browse files
authored
Correct format string error in answer 3.12
Tested with sbcl. `~{` and `~}` starts and ends a loop.
1 parent 2db2ba9 commit 76c49c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/chapter3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2455,7 +2455,7 @@ or, with an ANSI-compliant Common Lisp, you can specify a `:` key
24552455
(reduce #'+ list :key #'(lambda (x) 1)))
24562456
```
24572457

2458-
**Answer 3.12** `(format t "~@(~{~a~^ ~).~)" '(this is a test))`
2458+
**Answer 3.12** `(format t "~@(~{~a~^ ~}.~)" '(this is a test))`
24592459

24602460
----------------------
24612461

0 commit comments

Comments
 (0)