Thanks for the response
Yes, I'm using Emacs SLIM.

what should be the relation between the file (hello.clj) path to the
classpath?
Is the compile work on the file name, or on the function? in other
word, should I evaluate the function on the REPL before compile?

Thanks
Tzach


On Feb 10, 5:25 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> Hello,
>
> Can you be more specific about : what is in what file in your example, and
> what is the structure of the directories you use for the test ?
>
> Normally, this should be :
> (say src is the root source directory set in your classpath) :
>
> ---------------------------------------------------------------
> file : src/clojure/examples/hello.clj
> ---------------------------------------------------------------
> (ns clojure.examples.hello
>    (:gen-class))
>
> (defn -main
>  [greetee]
>  (println (str "Hello " greetee "!")))
> ---------------------------------------------------------------
>
> And from the REPL : (compile 'clojure.examples.hello)
>
> I tried it, it works correctly (the compilation works correctly)
>
> Regards,
>
> --
> Laurent
>
> 2009/2/10 Tzach <tzach.livya...@gmail.com>
>
>
>
> > I try to use the following example
>
> > (ns clojure.examples.hello
> >    (:gen-class))
>
> > (defn -main
> >  [greetee]
> >  (println (str "Hello " greetee "!")))
>
> > (compile 'clojure.examples.hello)
>
> > I got "error in process filter: Wrong number of arguments: nil, 3".
> > What am I missing here?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
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
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