Ecstatic Earthworm Feedback

6 views
Skip to first unread message

Jim Cooper

unread,
Sep 10, 2012, 11:04:16 AM9/10/12
to fp...@googlegroups.com
Just getting started and love your style so far.  One comment on the "evaluator birds" example that begins on page 9 with this line of code: (+ 1 (- 3 2)).  Note that the + 1 and the (-3 2) both evaluate to 1, this makes it a little less clear later on in the example, when you are showing the evaluators broken out which "one" you are referring to.  It would clear things up a bit if you used something like this (+ 4 (- 3 2)).  Just a nitpick.

Brian Marick

unread,
Sep 13, 2012, 12:56:44 PM9/13/12
to fp...@googlegroups.com
On Sep 10, 2012, at 10:04 AM, Jim Cooper wrote:

> Just getting started and love your style so far. One comment on the "evaluator birds" example that begins on page 9 with this line of code: (+ 1 (- 3 2)). Note that the + 1 and the (-3 2) both evaluate to 1, this makes it a little less clear later on in the example, when you are showing the evaluators broken out which "one" you are referring to. It would clear things up a bit if you used something like this (+ 4 (- 3 2)). Just a nitpick.


Fixed. Thanks.

-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile
Writing /Functional Programming for the Object-Oriented Programmer/: https://leanpub.com/fp-oo


Reply all
Reply to author
Forward
0 new messages