Re: agents + repl?

2009-07-01 Thread Raoul Duke
> i don't see the "."s until i evaluate something afterwards; then they many thanks to all for the help! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@g

Re: agents + repl?

2009-07-01 Thread Michał Kwiatkowski
get flushed to the console. is this something about agents+repl? or > something else i'm not grokking? many thanks for edification. Try adding (flush) after your print. By default only newline characters flush the output, so if you don't end your message with a newline

Re: agents + repl?

2009-07-01 Thread Timothy Pratley
he repl, > i don't see the "."s until i evaluate something afterwards; then they > get flushed to the console. is this something about agents+repl? or > something else i'm not grokking? many thanks for edification. > > (defn new-animator [] >   (agent 0))

agents + repl?

2009-07-01 Thread Raoul Duke
d to the console. is this something about agents+repl? or something else i'm not grokking? many thanks for edification. (defn new-animator [] (agent 0)) (def running true) (def animation-sleep-ms 250) (defn animation [i] (when running (send-off *agent* #'animation)) (print &qu