Permalink
Browse files

Making README example output self-consistent (redux).

  • Loading branch information...
cjfrisz committed Oct 6, 2012
1 parent 39f3aca commit 667e519747cb6527fca616c44d91ec24db07f12c
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
@@ -114,11 +114,11 @@ simply wrapping it in a call to `ctco`:
```clojure
(ctco
- (defn fact
- [n]
- (if (zero? n)
- 1
- (* n (fact (dec n))))))
+ (defn fact
+ [n a]
+ (if (zero? n)
+ a
+ (fact (dec n) (* n a)))))
```
This will define `fact` in terms of the code transformations used by

0 comments on commit 667e519

Please sign in to comment.