Re: Allow Data Structure to Be Called as Function

2011-06-15 Thread Michael Nygard
You could also use reify: (defn make-foo [s] (reify clojure.lang.IFn (invoke [this] (str Hello, s ((make-foo RJ)) Hello, RJ I have to admit, though, that I'm unclear on the relative merits of defrecord vs. reify. Anyone want to comment? Cheers, -Michael Nygard On Jun 15, 2011

[ANN] Simulant 0.1.8

2015-11-16 Thread Michael Nygard
Simulant 0.1.8 is now available. This is a maintenance release that incorporates some bug fixes and updates Clojure and Datomic dependencies Try it via - Leiningen: [com.datomic/simulant "0.1.8"] Changes since 0.1.7: - PR 24 Allow