On Thu, Oct 18, 2012 at 9:12 AM, keeds <akee...@gmail.com> wrote:
> I'm confused. How does the following not work?
>
> (let [a 1 b 2 c 3]
>   (println a)
>   (println b)
>   (println c)
>   (+ a b c))

It works, but all of the expressions on the RHS of the let
expression's binding vector have to be applied before you start
printing any of the values.

-- 
Ben Wolfson
"Human kind has used its intelligence to vary the flavour of drinks,
which may be sweet, aromatic, fermented or spirit-based. ... Family
and social life also offer numerous other occasions to consume drinks
for pleasure." [Larousse, "Drink" entry]

-- 
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