I have had the same experience. I solved it by using (ns ...) and (use
separately).

/mac

On Jul 27, 9:41 pm, Tom Emerson <tremer...@gmail.com> wrote:
> Hi all,
>
> I'm working with a Clojure file that creates a namespace to include
> all of its functions:
>
> (ns foobar)
>
> I load slime and then compile/load the file (C-c C-k), then switch the
> slime REPL to use the 'foobar' namespace. So far, so good: symbols in
> that namespace are accessible in the repl without any problems.
>
> When I switch back to the clojure file and modify or add a function
> that refers to another symbol defined in that namespace, and attempt
> to evaluate the sexp with C-c C-e then the SLIME repl throws an
> exception saying that the symbols cannot be resolved (even though I
> know they're in the namespace that is current in the SLIME repl).
>
> However, if I use C-c C-e to evaluate the ns call and the subsequent
> calls that set the values being referred to, all is fine.
>
> Anyway, tips are appreciate for working with namespaces with SLIME.
>
> Thanks in advance,
>
>     -tree
>
> --
> Tom Emerson
> tremer...@gmail.comhttp://treerex.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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