On Tue, Dec 10, 2013 at 12:53 PM, James Reeves <[email protected]>wrote:

> Remember that only the last form will be returned. So:
>
>     (defn foo [] 1 2 3 4)
>
>   `(defn ~start-function-name []
> will always return 4. The same principle applied with your macro. You
> define four forms, but only return the last one. Instead, try wrapping all
> the forms in a "do" block.
>

Let contains an implicit (do ...) ...

... but it looks like what's needed is an explicit `(do ...)

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to