Re: strange lazy behaviour
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
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