On 16 Lis, 01:32, Alex Osborne <[email protected]> wrote:
> Clojure's name gives a hint as to how do this: use a closure. :-)  Just
> pull the let outside the defn:
>
> (let [hilbert-map {...}]
>    (defn point-to-hilbert [...]
>      ...))

Now it seems so obvious :).
I guess I don't think functional yet.
Thank you, that's exactly what I was trying to achieve.

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

Reply via email to