Hello!

I figured it out. For the record, it was me being stupid about it. The
problem was doing a (use 'clojure.contrib.repl-utils) would barf
because 'source' is declared in both clojure.repl and
clojure.contrib.repl-utils (This has probably to do with what Sean
said - some repl functions are being promoted to core).

I needed to do a (use '[clojure.contrib.repl-utils :only (show)]) -
this way the name collision would be avoided. (I am not sure why emacs
tab-autocomplete would not show repl-utils as an option, but it may
have to do with the collision).

The lab-repl script loads the 'show' function this way. That's why it
worked with lab-repl but not with a 'lein swank' since with lein I
have to explicitly 'use' any contrib libraries.

I am sorry for the confusion. Please forgive me.

Warm regards,

Raju

On Jun 1, 5:14 pm, looselytyped <raju.gan...@gmail.com> wrote:
> Hi Sean,
>
> Yes, it certainly looks like it's being pulled into clojure core.
> Thank you for the response.
>
> If I may say so - I think your series on vimeo is awesome. Thank you
> for taking the time and making the effort.
>
> Kind regards,
>
> Raju
>
> On Jun 1, 11:13 am, Sean Devlin <francoisdev...@gmail.com> wrote:
>
> > Keep in mind thatREPL-utils is being discussed for inclusion in core
> > in 1.2.  Therefore, any edge build will have to pay extra attention to
> > what is going on.  This will be easier to track when frozen betas &
> > RC's come out.
>
> > Sean
>
> > On Jun 1, 10:52 am, looselytyped <raju.gan...@gmail.com> wrote:
>
> > > Hi Meikel,
>
> > > Thank you for the response. I did not do that, but a quick glance at
> > > the clojure.contribgithub repo tells me there is no 'show' function
> > > in it. I will try it at home (it's on my home computer).
>
> > > It's odd because it was working just fine - then I did a 'lein clean'
> > > and 'lein deps' and it was then I could not refer to 'show'.
>
> > > Kind regards,
> > > Raju
>
> > > On Jun 1, 1:28 am, Meikel Brandmeyer <m...@kotka.de> wrote:
>
> > > > Hi,
>
> > > > On Jun 1, 4:16 am, looselytyped <raju.gan...@gmail.com> wrote:
>
> > > > > For some reason, the 'show' function from clojure.contrib.repl-utils
> > > > > does not work. In fact the only completions I get when trying to get
> > > > > torepl-* are
>
> > > > > clojure.contrib.repl-ln
> > > > > clojure.contrib.repl_ln
>
> > > > Did you (require 'clojure.contrib.repl-ln)? Maybe
> > > > labrepl does that for you.
>
> > > > Sincerely
> > > > Meikel

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