RE: Recursive var definition

2011-06-13 Thread Bhinderwala, Shoeb
@googlegroups.com Subject: Re: Recursive var definition On Sat, Jun 11, 2011 at 6:48 PM, Shoeb Bhinderwala wrote: > I have never seen a recursive var definition such as fibs above and > fail to understand how it works. When I read the fibs definition > above, it looks like to define fibs it already sh

Re: Recursive var definition

2011-06-12 Thread Baishampayan Ghose
On Sat, Jun 11, 2011 at 6:48 PM, Shoeb Bhinderwala wrote: > I have never seen a recursive var definition such as fibs above and > fail to understand how it works. When I read the fibs definition > above, it looks like to define fibs it already should know about fibs > since it is use

Recursive var definition

2011-06-11 Thread Shoeb Bhinderwala
Fairly new to clojure. When I was browsing a solution to one of the problems in project Euler, I came across a solution that used a recursive var definition. ;By considering the terms in the Fibonacci sequence whose values do not ;exceed four million, find the sum of the even-valued terms. (def