I believe this is a problem with the Leiningen REPL. It works fine from the
built-in REPL:

$ java -jar ~/.m2/repository/org/clojure/clojure/1.5.1/clojure-1.5.1.jar
Clojure 1.5.1
user=> (def top% 4)
#'user/top%
user=> top%
4

Dave




On Tue, Jun 17, 2014 at 1:32 AM, Mike Thompson <m.l.thompson...@gmail.com>
wrote:

> At the REPL ...
>
>
> user=> (def top% 4)       ;; an unusually named var
> #'user/top%
>
> But later, it I try to use this var, trouble ...
>
> user=> top%
>
> CompilerException java.lang.RuntimeException: Unable to resolve symbol:
> top in this context,
> compiling:(Local\Temp\form-init6773082655831127234.clj:1:734)
> CompilerException java.lang.RuntimeException: Unable to resolve symbol: %
> in this context,
> compiling:(Local\Temp\form-init6773082655831127234.clj:1:734)
>
>
> Not sure what to make if this. Obviously % is a bit special.  And it is
> certainly not a significant problem for me, at all.  Just seemed odd that
> I'm allowed to successfully do the def, if it is just going to cause
> problems later.
>
> --
>
> Mike
>
>
>
>
>
>  --
> 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
> ---
> 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 clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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
--- 
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 clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to