Hi,
On 31 Aug., 12:00, Chris Jenkins wrote:
> The thing that still confuses me is that I can successfully load a source
> file that imports the whole of clojure.contrib.seq once (with warnings) but
> an attempt to reload that source file then fails - even if I edit the source
> file to remove th
Thanks Robert. That makes a lot of sense and I was able to follow your
advice last night and get my source file to reload successfully by adding
":only [indexed]" to my :use clause (because indexed was the only function
that I was using in this case).
The thing that still confuses me is that I can
I ran into the same situation as Chris yesterday with
clojure.contrib.seq-utils as well as with clojure.contrib.str-utils. The
explanation is very timely for me and much appreciated.
- John
On Mon, Aug 30, 2010 at 4:05 PM, Robert McIntyre wrote:
> Sorry, I was tired and didn't explain very well
Sorry, I was tired and didn't explain very well.
Right now you have a "naked"
(:use clojure.contrib.seq-utils)
somewhere.
You want to use partition-by, but that's already in core, so you might
just get rid of the :use altogether.
But maybe there are some other functions in seq-utils that you do
Thanks for the pointers you guys. I changed my code to this:
(ns test.core
(:use [clojure.contrib.seq :only (indexed)]))
... (indexed being the function that I was interested in) and it now works
ok. I can reload the file as many times as I like.
I must confess that I am rather confused by all
On Mon, Aug 30, 2010 at 3:05 AM, Robert McIntyre wrote:
> Yeah, they changed that from clojure 1.1 and it's really annoying ---
> as far as I know, your only options right now are to either select
> exactly which functions
> from seq-utils you want using the :only keyword, or if you really want
>
Hi,
Am 30.08.2010 um 20:43 schrieb Chris Jenkins:
> How would using the :only keyword help here? Just to be clear, the problem
> here is that attempting to load my source file the second time fails (loading
> the first time having succeeded, albeit with a few warnings about replacing
> symbols
How would using the :only keyword help here? Just to be clear, the problem
here is that attempting to load my source file the second time fails
(loading the first time having succeeded, albeit with a few warnings about
replacing symbols from clojure.core), which makes it very difficult for me
to us
Yeah, they changed that from clojure 1.1 and it's really annoying ---
as far as I know, your only options right now are to either select
exactly which functions
from seq-utils you want using the :only keyword, or if you really want
to use the seq-utils version
you can use refer-clojure and the :exc
Since I switched to Clojure 1.2, I see an error message whenever I try to
reload a source file that imports anything. The error message is of the form
" already refers to xxx", as though it is complaining that it can't
import the same thing twice.
For example, I have a minimal source file that
10 matches
Mail list logo