On Feb 25, 7:50 pm, Adrian Cuthbertson <adrian.cuthbert...@gmail.com>
wrote:
> You can also do stuff in the middle of a let;
>
> (let [a vala
>       b valb
>       _ (do-something-with a b)
>       c (some-fn a b)
>       d (some-fn a b)
>       _ (do-something a b c d)
>       e (fn ...)
>       f (fn ....)]
>   (and-whatever-else))

Thanks. That's the problem I was trying to solve. Unfortunately I
think I didn't give a very good example in my first post of the kind
of code I'm talking about but it's exactly what you've described -
code that assigns values to a few variables, performs some operations
with unimportant or no return values, then assigns a few more
variables etc. Assigning to _ seems like a easy way to deal with this.

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