Re: what does - mean?

2008-12-30 Thread Craig Marshall
Hi Timothy, This is not really related to the current thread (sorry), but I want to say thanks for this API examples page, it looks like it'll be a great help, just what I need! Somehow I'd managed to completely miss it until now when you mentioned it - either I'm partially blind, or it could be

Re: Fibonacci sequence

2008-12-29 Thread Craig Marshall
Hi David, (defn fib (fib-helper 0 1)) ; This doesn't work either: (defn fib (fib- helper '(0 1))) You're missing your argument list for fib. I assumed you meant the empty square brackets [] just after the work fib? I didn't realise these were necessary even when there were no function

Fibonacci sequence

2008-12-28 Thread Craig Marshall
Hi, I'm trying to learn lisp and Clojure and so I'm trying some excercises suggested here on the group a while ago. I'm not doing too well, I had to cheat on excercise one (make a series of integers) by looking at the source code to the range function, and I'm now having to ask for help with