On Feb 13, 2009, at 12:28 PM, Laurent PETIT wrote:
Yes, and the prefix list convenience would also solve Stephen's
problem with the violation of the DRY principle in this area :-)
Exactly!
--Steve
smime.p7s
Description: S/MIME cryptographic signature
2009/2/13 Stephen C. Gilardi
> I wonder what the rationale was for making it so namespaces need to be
>> quoted when using in-ns. They don't need to be quoted when using ns.
>> For example, I have
>>
>> (ns com.ociweb.talk (:gen-class)) in one file
>>
>> and
>>
>> (in-ns 'com.ociweb.talk) in ano
I wonder what the rationale was for making it so namespaces need to be
quoted when using in-ns. They don't need to be quoted when using ns.
For example, I have
(ns com.ociweb.talk (:gen-class)) in one file
and
(in-ns 'com.ociweb.talk) in another.
I guess this is because it's conceivable one mi
On Fri, Feb 13, 2009 at 10:29 AM, Laurent PETIT wrote:
> That's really a matter of conventions. Both work, and you just have to
> correctly adjust the call to load :
>
> 1st layout :
> src/echo/test.clj
> src/echo/test/test-part2.clj
>
> Then you'll have (ns echo.test (:load "test/test-part2") in
That's really a matter of conventions. Both work, and you just have to
correctly adjust the call to load :
1st layout :
src/echo/test.clj
src/echo/test/test-part2.clj
Then you'll have (ns echo.test (:load "test/test-part2") in
src/echo/test.clj
2d layout:
src/echo/test.clj
src/echo/test-part2.cl
On Fri, Feb 13, 2009 at 10:18 AM, Laurent PETIT wrote:
> 2009/2/13 Mark Volkmann
>>
>> On Thu, Feb 12, 2009 at 5:09 PM, Laurent PETIT
>> wrote:
>> > In a nutshell (not tested, but nothing should miss, just typos if it
>> > doesn't
>> > work) :
>> >
>> > mkdir test-compile
>> > cd test-compile
>
2009/2/13 Mark Volkmann
>
> On Thu, Feb 12, 2009 at 5:09 PM, Laurent PETIT
> wrote:
> > In a nutshell (not tested, but nothing should miss, just typos if it
> doesn't
> > work) :
> >
> > mkdir test-compile
> > cd test-compile
> > mkdir classes
> > mkdir src
> > mkdir src/echo
> > echo "(ns echo.
On Thu, Feb 12, 2009 at 5:09 PM, Laurent PETIT wrote:
> In a nutshell (not tested, but nothing should miss, just typos if it doesn't
> work) :
>
> mkdir test-compile
> cd test-compile
> mkdir classes
> mkdir src
> mkdir src/echo
> echo "(ns echo.test) (defn echo [msg] msg)" > src/echo/test.clj
>
On Feb 12, 2009, at 4:56 PM, anderspe wrote:
I have tried to compile a simple "Hello World" but the closest a got
was a class file, witch can't be used,
just reports that Class Hello could not be found.
I've seen this symptom before. The following rules may help:
- The target directory for t
In a nutshell (not tested, but nothing should miss, just typos if it doesn't
work) :
mkdir test-compile
cd test-compile
mkdir classes
mkdir src
mkdir src/echo
echo "(ns echo.test) (defn echo [msg] msg)" > src/echo/test.clj
java -cp path/to/clojure.jar:src/:classes/ clojure.lang.Repl
user> (compile
Have a look at how the clojure-contrib project is compiled. The
build.xml file will help.
--~--~-~--~~~---~--~~
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
11 matches
Mail list logo