Hi, Am 20.04.2009 um 08:32 schrieb Timo Mihaljov:
After a bit of googling I found what seems to be the perfect solution: http://kotka.de/projects/clojure/lazy-map.html (defn new-person [first-name last-name] (lazy-struct-map person :first-name first-name :last-name last-name :name (str first-name " " last-name)))
Huh? Wow. I hadn't thought of such a use for lazy-map. Very nice. :)
Now I only wish that de.kotka.lazymap would become a part of Clojure core.
Vincent Foley suggest lazy-map as a candidate for contrib. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature