Re: More Monads

2008-12-04 Thread Konrad Hinsen
On 02.12.2008, at 18:49, jim wrote: > One thing I saw is that 'replace-syms' could be simplified. I rewrote > it as: > > (defn- replace-syms [sym-map expr] > (cond > (seq? expr) (map #(replace-syms sym-map %) expr) > (coll? expr) (into (empty expr) >

Re: More Monads

2008-12-02 Thread Meikel Brandmeyer
Hi, Am 02.12.2008 um 18:49 schrieb jim: A couple of weeks ago, I took a crack at figuring out monads by implementing them in Clojure. Inspired by Konrad's work, I pulled that out and completed it. Seems, that we have some inflation here. :) I also re-activated my try from spring, which I use