2011/10/25 Micah Martin <micahmar...@gmail.com>:
> Right Rich, Thanks.  But that was a simplified reduction of real usage.  
> Typically the declare is found in a nested structure:
>
> (describe "something"
>        (context "fooey"
>                (with bar 42)  ; declare comes from this macro
>                (it "works"
>                        (should= 42 @bar)))) ; here bar be unbound
>
> I'll see if I can restructure Speclj to get all the Vars declared at the root 
> level.  But I'd still like to know….
>
> Is this defined behavior?  Or am I jumping through hoops to avoid behavior 
> that doesn't belong?
>

Hi Micah,

maybe this can help : do you know you can create / use vars without
having to have them declared globally ?

See section named "non interned vars" here : http://clojure.org/vars

HTH,

-- Laurent

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