]> git.rkrishnan.org Git - sicp.git/blob - src/sicp/ex1_2.clj
solution to 4.43
[sicp.git] / src / sicp / ex1_2.clj
1 (ns sicp.ex1_2
2   (:use [sicp utils]
3         [clojure.contrib trace test-is]))
4
5 ;; exercise 1.2: Translate the given expression into prefix form
6 (/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 1 5)))))
7    (* 3 (- 6 2) (- 2 7)))  ; -71/300