Actually, it started working with require, and as far as I'm concerned,
I've done nothing to fix the problem.
On Mon, 16 Aug 2010 20:06:32 +0200, Luka Stojanovic
wrote:
I have same problem:
I'm using NetBeans 6.9.1/Enclojure, clojure-SNAPSHOT, running on Ubuntu
10.04
If I create Cloj
I have same problem:
I'm using NetBeans 6.9.1/Enclojure, clojure-SNAPSHOT, running on Ubuntu
10.04
If I create Clojure project everything works OK. If I add Clojure scripts
in existing Java project (and copy appropriate parts of pom.xml into that
project) :require causes error as above, b
Hmmm. Actually, as Meikel noted, this should be fine, and it does
indeed work for me:
(ns your-namespace
(:require clojure.contrib.io))
The only time I got the "Don't know how to create ISeq from:
clojure.lang.Symbol" exception is when I erroneously copy-pasted and
tried to evaluate this:
(ns
The following worked for me:
(ns your-namespace
(:require (clojure.contrib io)))
(See: http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/ns)
This also works:
(ns your-namespace
(:require [clojure.contrib.io]))
On Aug 11, 2:46 am, Meikel Brandmeyer wrote:
> Hi,
>
> On 11
Hi,
On 11 Aug., 10:44, Joop Kiefte wrote:
> http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/...
> tells me you need to put it in a quoted list (require is a function,
> so you have to quote anyway. Don't know at the moment if the :require
> works differently, but I think it
Hi,
On 11 Aug., 10:19, Folcon wrote:
> The stacktrace is as follows:
>
> Backtrace:
> 0: clojure.lang.LazySeq.sval(LazySeq.java:47)
>
Wow. Emacs really goes out of its way to hide what's going on. If you
try your code in a normal repl it should tell you the file where
things go wrong. Also th
http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/require
tells me you need to put it in a quoted list (require is a function,
so you have to quote anyway. Don't know at the moment if the :require
works differently, but I think it shouldn't)
2010/8/11 Folcon :
> The stacktrace i
The stacktrace is as follows:
Backtrace:
0: clojure.lang.LazySeq.sval(LazySeq.java:47)
1: clojure.lang.LazySeq.seq(LazySeq.java:56)
2: clojure.lang.LazySeq.first(LazySeq.java:78)
3: clojure.lang.RT.first(RT.java:549)
4: clojure.core$first__4227.invoke(core.clj:45)
5: clojure.core$ns__6
Hi,
On 11 Aug., 09:12, Folcon wrote:
> I've tried using the format shown on the docs which is:
>
> (ns your-namespace
> (:require clojure.contrib.io))
>
> And this is what causes the exception.
Do you have some more information about the stacktrace? It should say
in which file the exception h
I did try that and I get the exception:
lib names inside prefix lists must not contain periods
Thanks for trying ;)
On Aug 11, 12:33 pm, Joop Kiefte wrote:
> quote it?
>
> 2010/8/11 Folcon :
>
>
>
>
>
> > I've tried using the format shown on the docs which is:
>
> > (ns your-namespace
> > (:re
quote it?
2010/8/11 Folcon :
> I've tried using the format shown on the docs which is:
>
> (ns your-namespace
> (:require clojure.contrib.io))
>
> And this is what causes the exception.
>
> On Aug 11, 12:06 pm, Folcon wrote:
>> I'm trying to create an input stream to use with some libraries. I'v
I've tried using the format shown on the docs which is:
(ns your-namespace
(:require clojure.contrib.io))
And this is what causes the exception.
On Aug 11, 12:06 pm, Folcon wrote:
> I'm trying to create an input stream to use with some libraries. I've
> been trying to require clojure.contrib.
I'm trying to create an input stream to use with some libraries. I've
been trying to require clojure.contrib.io to use the input-stream
function.
However I keep getting the exception.
java.lang.IllegalArgumentException: Don't know how to create ISeq
from: clojure.lang.Symbol
Can anyone help?
Tha
13 matches
Mail list logo