funny, if I start the cljs repl via script/cljs-repl it works

I will look into it, maybe it's Emacs

thx

2012/1/13 Brenton <bashw...@gmail.com>

> I can't reproduce this problem. What you are showing here should work.
>
> The following steps work for me:
>
> script/cljs-repl
> ClojureScript:cljs.user> (in-ns 'one.sample.view)
> ClojureScript:one.sample.view> (def fiv 5)
> (def fiv 5)
> 5
>
> On Jan 13, 9:36 am, László Török <ltoro...@gmail.com> wrote:
> > Hi,
> >
> > first of thank you putting this together. As I'm working my way through
> the
> > documentation, I'm experiencing a strange error.
> >
> > I have a Clojurescript REPL up and running in Emacs (tested with
> (js/alert
> > "..")) and I try
> >
> > ClojureScript:one.sample.view> (def fiv 5)
> >
> > I get this:
> >
> > (def fiv 5)
> > "Error evaluating:" (def fiv 5) :as ".fiv = 5;\n"
> >
> > and a long stacktrace.
> >
> > Similarly, this works:
> >
> > ClojureScript:one.sample.model> @one.sample.model/state
> >
> > this doesn't:
> >
> > ClojureScript:one.sample.model> @state
> >
> > So it seems every unqualified (local) symbol gets a leading . (dot). What
> > am I doing wrong?
> >
> > Thanks!
> >
> > --
> > László Török
>
> --
> 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




-- 
László Török

Skype: laczoka2000
Twitter: @laczoka

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