I write a swing wrapper for fun.
http://gist.github.com/465370
It work well. (eg. http://gist.github.com/465323,
http://java.sun.com/docs/books/tutorial/uiswing/components/button.html
ButtonDemo example)
But there is a small problem troubling me.
I must import the Event Listener where I use my
hevelled.net/Generating-Clojure-import-lines-using-SLIME.html>You
> can just call the function from the REPL if you don't use SLIME
> Hope that helps
>
> <http://dishevelled.net/Generating-Clojure-import-lines-using-SLIME.html>
> Regards,
> Tim.
>
>
>
> On Tue, Ju
Another way:
suppose test-list -> (list 1 2 3)
`(max ~...@test-list) can translate the form to what you want
so you can use eval or define a macro to handle it.
On Jul 5, 11:38 am, Mike Meyer wrote:
> On Sun, 4 Jul 2010 20:21:22 -0700 (PDT)
>
> dennis wrote:
> > For example:
> > (max 1 2 3)
Even the "TEST" Problem will TLE!!!
My code is here:
(ns spoj-test)
(defn read-int
[]
(let [s (read-line)]
(Integer/parseInt s)))
(defn main
[] (let [n (read-int)]
(when (not (== 42 n))
(println n)
(recur
(main)
the sample input is OK.
On Jul 25, 3:51
s to update this?
>
> -matthias
>
> On Jul 25, 12:34 pm, Cachou wrote:
>
>
>
> > Even the "TEST" Problem will TLE!!!
>
> > My code is here:
>
> > (ns spoj-test)
>
> > (defn read-int
> > []
> > (let [s (read-line)]
> > (