Skip to content

Commit

Permalink
keep-looking even better
Browse files Browse the repository at this point in the history
  • Loading branch information
vvgomes committed Mar 26, 2016
1 parent 9ef1690 commit 64c5784
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/little_schemer/chapter09.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
(def keep-looking
(fn [a sorn lat]
(cond
(number? (pick sorn lat))
(number? sorn)
(keep-looking a (pick sorn lat) lat)
:else
(eq? (pick sorn lat) a))))
(eq? sorn a))))

0 comments on commit 64c5784

Please sign in to comment.