<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>reading/onlisp/chapter4.clj</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,9 +1,13 @@
+; Chapter 3 was a relatively short chapter (code-wise).  It dealt mostly with side-effects and the virtues of a more functional style to avoid such evil.  Thankfully, Clojure eliminates many of the problems outlined by Graham in the way that it prefers immutability and minimizes the functions causing side-effects.
+
 ; pg. 29
-(comment
-  Graham provides a bad implementation of a reverse function that modifies a list in place.  To do this in Clojure would require some gymnastics and
-  therefore is probably not worth the effort.)
+
+;  Graham provides an intentionally bad implementation of a reverse function that modifies a list in place.  To do this in Clojure would require some gymnastics and therefore is probably not worth the effort.
 
 ; pg. 30
+
+;&lt;pre lang=&quot;lisp&quot;&gt;
+
 (defn good-reverse [lst]
   (defn rev [lst acc]
     (if (nil? lst)
@@ -11,11 +15,13 @@
       (rev (rest lst) (cons (first lst) acc))))
   (rev lst nil))
 
+;&lt;/pre&gt;
 
 ; pg. 32
-(comment
-  Clojure doesn't provide multiple value bindings in the same way that Lisp does.  Instead, you can construct a vector
-  of values and then deconstruct them easily on the return within a let)
+
+;  Clojure doesn't provide multiple value bindings in the same way that Lisp does.  Instead, you can construct a vector of values and then deconstruct them easily on the return within a let)
+
+;&lt;pre lang=&quot;lisp&quot;&gt;
 
 (defn mytrunc [num]
   [(int num) (- num (int num))])
@@ -23,3 +29,6 @@
 (let [[int_part frac_part] (mytrunc 26.21875)]
   (str int_part &quot; and &quot; frac_part))
 
+;&lt;/pre&gt;
+
+; -m</diff>
      <filename>reading/onlisp/chapter3.clj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b6773efd1be1f1b4a9c230eb3d8f1f0d0a61258a</id>
    </parent>
  </parents>
  <author>
    <name>Fogus</name>
    <email>devnull@earthvssoup.com</email>
  </author>
  <url>http://github.com/fogus/polyglot/commit/57c47ea45e93b27d2302a66eedc163284d627892</url>
  <id>57c47ea45e93b27d2302a66eedc163284d627892</id>
  <committed-date>2008-09-30T09:48:48-07:00</committed-date>
  <authored-date>2008-09-30T09:48:48-07:00</authored-date>
  <message>Some minor modifications and a placeholder for chap 4</message>
  <tree>349ebc7fe3ba35f6177d66a5c6144b73977cfc70</tree>
  <committer>
    <name>Fogus</name>
    <email>devnull@earthvssoup.com</email>
  </committer>
</commit>
