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 <[email protected]>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 <[email protected]>
>
>> 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 [email protected]
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected]<clojure%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>
>
> --
> ------------------------------------------------------------
> Email: [email protected]
> ------------------------------------------------------------
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]<clojure%[email protected]>
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to