unable to resolve symbol: doc

257 views
Skip to first unread message

Andrew

unread,
Sep 30, 2011, 3:12:25 PM9/30/11
to clo...@googlegroups.com
When I do M-x clojure-jack-in on one project.clj which uses clojure 1.2.1, I'm able to evaluate (doc map). 

But with another project.clj which uses clojure 1.3.0-RC0, the repl is unable to resolve symbol: doc. I also changed it to use clojure 1.3.0, ran lein deps... M-x clojure-jack-in.... repl user> (doc map) ... unable to resolve symbol: doc

What do I need to do differently?

Mark Rathwell

unread,
Sep 30, 2011, 3:16:45 PM9/30/11
to clo...@googlegroups.com
In 1.3 doc was moved to the clojure.repl namespace. So, at the repl, you can:

(use 'clojure.repl)

and (doc foo) should work again.

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

Andrew

unread,
Sep 30, 2011, 3:23:27 PM9/30/11
to clo...@googlegroups.com
Oh *that's* what was meant by the blurb below. Thanks.

2.26 doc & find-doc moved to REPL

Adds special form docs to the REPL

Phil Hagelberg

unread,
Sep 30, 2011, 4:38:31 PM9/30/11
to clo...@googlegroups.com

Try using C-c C-c d instead. I'm not sure what the fix is for doc
itself, but this is quite a bit more convenient.

-Phil

Alan Malloy

unread,
Sep 30, 2011, 5:13:40 PM9/30/11
to Clojure
C-c C-d d, right?

On Sep 30, 1:38 pm, Phil Hagelberg <p...@hagelb.org> wrote:

Phil Hagelberg

unread,
Sep 30, 2011, 5:17:05 PM9/30/11
to clo...@googlegroups.com
On Fri, Sep 30, 2011 at 2:13 PM, Alan Malloy <al...@malloys.org> wrote:
> C-c C-d d, right?

Oops, yes that's right.

-Phil

Reply all
Reply to author
Forward
0 new messages