So, I'm starting to get my feet wet with a real project written in Clojure. One of the first things needed in the project is a periodic process to check an external server for updates, and so I wrote some functions to help this. The code is here: http://pastie.textmate.org/private/1q0c0ydhvdjlzssc896k1w
I'm new to Clojure, for that matter any Lisp, so I'm wondering what I could do better with that code. Am I doing anything blatantly wrong? Basically, there are four functions: send-after, send-off-after, send- periodically, and send-off periodically. They leverage the agent system, and mirror the send/send-off functions. The -after variants are one shot sends that wait for a specified timeout and then send, whereas the -periodically variants repeatedly send using the given interval. Thanks, Scott Fleckenstein --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---