Hi Meikel,
it surprised me that you used an atom to run the event loop. A simple
loop/recur also works, at least in clojure 1.2.1:
(loop []
(let [input (read-line)]
(when (pos? (count input))
(println (pick phrases))
(recur))))
Just for the record.
Best,
Albert
--
http://albert.rierol.net
http://www.ini.uzh.ch/~acardona/
--
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