Sunday, February 24, 2019

SICP in Clojure: Chapter 1, Exercise 2

This is my Clojure solution to Chapter 1, Exercise 2:

(ns sicp.ch1.ex02)

(/ (+ 5 6 (- 2 (- 3 (+ 6 (/ 4 5)))))
   (* 3 (- 6 2) (- 2 7))) ; => -7/25

No comments: