set the cursor somewhere in your (defn...) expression then press Ctrl
+ Alt + x (evaluate in REPL). After that you method call should work.
Matt
On May 24, 5:08 pm, Shikhar wrote:
> Hi,
> I've just installed the Counterclockwise plugin and written a hello
> world program in a file named "hello.
(require 'clojure.contrib.seq-utils)
(defn word-count [s]
(frequencies (re-seq #"[a-zA-ZöäüÖÄÜß]+" s)))
(word-count "foo bar baz quux quux foo")
; {"quux" 2, "baz" 1, "bar" 1, "foo" 2}
Matt
On Mar 25, 4:09 pm, jfr wrote:
> Thanks I will take a look at it .Neverless, the idea was to write my
>From where or how did you start you REPL? I copied you source into c:
\sqrs.clj and started a REPL:
C:\>clojure
Clojure 1.1.0
user=> (load-file "sqrs.clj")
#'user/square-of-sum
user=> (square-of-sum (range 10))
2025
user=>
Clojure can't find your file in the classpath.
Matt
--
You received th
Yep, you're right, I just debugged it and its an int overflow (nth
gets called with a parameter int n=-279969792)
Matt
--
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
Hi everyone,
I'm fairly new to clojure but having a great time right now with this
beautiful language. I've been toying around with the REPL this
morning:
http://paste.lisp.org/display/94972
Now the question arises, am I missing the point or is this some sort
of an internal restriction?
Any hin