brave-clojure-web
brave-clojure-web copied to clipboard
The code listing in Chapter 5 showing the namespace declaration for `pegthing.core` uses `(require` rather than `(:require`. This corrects that and updates the relevant `class` attribute in the code listing...
In chapter 8 ("Writing Macros"), you could include a few words on the meaning of "let*". Also, the function "render" is not properly introduced (and perhaps could even be replaced...
Format `into` as code. Remove escape characters for Edward Cullen in docstring of `mapify` Add quotes around **0** in unmapped-row example for Bella Swan. (Only after the expression `(convert vamp-key...
While I was going through the pegthing example (web and ebook version), I noticed the function names in ```clojure (declare successful-move prompt-move game-over query-rows) ``` seem to be mismatched from...
In the chapter on Functional Programming, an example is made of mutually-recursive functions without a hard-set limit on recursion depth. The example being a user-interactive game makes this reasonable. However,...
First example of Rake invocation in section Composition and Coordination is malformed. This probably happened because all code samples are treated as Clojure code by pygments.
The commented output for the function `connect-down-left` is now ``` {1 {:connections {4 2} 4 {:connections {1 2}}}} ``` but the correct output is ``` {1 {:connections {4 2}} 4...
Hi, Daniel! Great book! A small correction. You write (p. 118 of the printed version) > Given this board, positions 1, 6, and 11 have valid moves, but all others...
See https://clojuredocs.org/clojure.core/not-empty for comparison.
The three functions `ansi`, `ansi-styles` and `colorize` are mentioned and used in the code for Pegthing in the Functional Programming chapter (# 5) but aren't defined in the text—though they...