I would like to announce a very little utility library for defining
recursive maps in Clojure, called rmap.
For example:
(def m
(rmap X
{:what "awesome!"
:clj (str "Clojure is " (:what X))})
(:clj m)
;=> "Clojure is awesome!"
An object of type IFn + ILookup + Seqable is currently returned, which
means it can be used with the core get function, as a function itself
(taking one or two arguments), with keyword lookups, and all functions
using seq, such as into. Please let me know (or send a pull request) when
you need another protocol or interface implemented.
On Clojars: [functionalbytes/rmap "0.1.2"]
On Github: https://github.com/aroemers/rmap
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.