To put it another way:  a top-level "do" is special-cased to compile and 
then immediately execute each contained form, in order. Any other top-level 
form, such as "list", will be fully compiled, including all contained forms, 
and only then executed. In this case, the defn cannot compile because the 
preceding declare has not yet executed - it has only compiled.

- Chris

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to