Re: strange lazy behaviour

2012-07-10 Thread Tassilo Horn
Andrew Rafas writes: Hi Andrew, > Just created this solution for the Number Maze problem on 4clojure: > http://www.4clojure.com/problem/106 > > ( > (fn [a b] > (letfn [(nummaze [a b len] > (cond >(= len 0) false >(= a b)

strange lazy behaviour

2012-07-10 Thread Andrew Rafas
Hi! Just created this solution for the Number Maze problem on 4clojure: http://www.4clojure.com/problem/106 ( (fn [a b] (letfn [(nummaze [a b len] (cond (= len 0) false (= a b) true (nummaze (* 2 a) b