Re: agents + repl?

2009-07-01 Thread Michał Kwiatkowski
On Wed, Jul 1, 2009 at 9:43 AM, Raoul Duke wrote: > while trying to understand the graphics animation code from ants.clj, > i tried this simpler code, but when i run the code below in the repl, > i don't see the "."s until i evaluate something afterwards; then they > get flushed to the console. i

Re: [ANN] clj-peg v0.6 released

2010-01-07 Thread Michał Kwiatkowski
On Mon, Jan 4, 2010 at 11:27 PM, Richard Lyman wrote: > This project adds support in Clojure for Parsing Expression Grammars. > You'll be able to write pseudo-ebnfs directly in your Clojure code. Sounds nice, but where's the source code? Cheers, mk -- You received this message because you are s

Re: [ANN] clj-peg v0.6 released

2010-01-08 Thread Michał Kwiatkowski
On Fri, Jan 8, 2010 at 4:38 PM, Richard Lyman wrote: > Currently I'm only providing the code in AOT form. If the JAR is on your > classpath everything in the manual works just fine. > > Did that answer your question? Yes, thank you! Cheers, mk -- You received this message because you are subscr

Re: How to catch exception and keep looping?

2010-02-12 Thread Michał Kwiatkowski
2010/2/12 Konrad Kułakowski : > I have a piece of code like this: > > (def ll ['a 'b 'c 'd]) > > (loop [e (first ll) f (rest ll)] >  (do >    (try >       (do >          (println e) ;; do sth with e which may throw an exception >          (recur (first f) (rest f))) >      (catch Exception _ (print