Yes, I realized it immediately after send this post. :) Even with the
correction I could not get (method "world") to work in eclipse console
REPL.

I'm going to follow the http://github.com/relevance/labrepl link suggested
by another responder.

Thanks.

On Tue, May 25, 2010 at 7:59 AM, patrik karlin <patrik.kar...@gmail.com>wrote:

> (defn "a method" method [args] (println "Hello" args))
> ok so im gonna gess that you should putt the docstring after the name
>
> (defn method
>  "a method"
>  [args]
>  (println "hello" args))
>
>
>
> 2010/5/24 Shikhar <shikh...@gmail.com>
>
>> Hi,
>>  I've just installed the Counterclockwise plugin and written a hello
>> world program in a file named "hello.clj"
>> <Code>
>> -------------------------------------------------------------------
>> (ns hello)
>> (defn "a method" method [args] (println "Hello" args))
>> --------------------------------------------------------------------
>> </Code>
>>
>> When I run the above file as Clojure REPL via eclipse
>>
>> <Console>
>> ----------------------------------------------------------------
>> Clojure 1.1.0
>> 1:1 user=> #<Namespace hello>
>> 1:2 hello=> (method "World")
>> java.lang.Exception: Unable to resolve symbol: method in this context
>> (repl-1:2)
>> 1:3 hello=>
>> -----------------------------------------------------------------
>> </Console>
>>
>> Any thoughts on what I could be doing wrong? Thanks.
>>
>>
>> Shikhar
>>
>> --
>>
>> 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<clojure%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>
>
> --
> ------------------------------------------------------------
> Email: patrik.kar...@gmail.com
> ------------------------------------------------------------
>
>  --
> 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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
>



-- 
-shikhar

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