Skip to content

Commit

Permalink
Exercise 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Smet committed Oct 15, 2023
1 parent b85f1e7 commit 5e0ef85
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sicp/chapter_1/ex_1_11.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
; Write a procedure that computes f by means of a recursive process.
; Write a procedure that computes f by means of an iterative process.


(defn f [n] ; Recursive process
(cond (< n 3) n
:else (+ (f (- n 1))
Expand Down

0 comments on commit 5e0ef85

Please sign in to comment.