On Dec 2, 2:39 am, Meikel Brandmeyer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 2 Dez., 04:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > So why is the above form not legal in Clojure? I would think it might
> > come in handy to define a function that relies on something currently
> > not-yet-defined. Why is this the appropriate behavior?
>
> As other stated you should use declare to tell Clojure about Vars
> you will use before they are def'd with a meaningful value.
>
> As for the
> reasons:http://groups.google.com/group/clojure/browse_thread/thread/c34188752...
>
> Sincerely
> Meikel
Meikel, thanks for the response. I actually did read that thread in
the past but forgot about it. So much to remember these days. I
don't fully understand Rich's explanation yet, but I'm sure that's
because of my inexperience with Lisp.
Stuart, I have been using your PCL solutions as a way to check my
answers! My CD database wasn't quite as elegant as yours, but I think
I did a good job for my limited Lisp/Clojure experience. I also
bought your book "Programming Clojure". Thanks for all your hard
work! It's really helping me understand Clojure better.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---