Hey, Both myself and my brother do a fair amount of validating maps of data in our day jobs (EXCITE!) so we put together a library a while ago to help out. We just got round to releasing 1.0.0 recently so thought I would announce it here in case anyone else is interested:
https://github.com/mikejones/mississippi Basic usage is like: user> (use 'mississippi.core) user> (def subject {:a nil :b 1}) user> (def validations {:a [(comp not nil?) :msg "required"] :b [number? :msg "not numeric"]}) user> (validate subject validations) {:a nil, :b 1, :errors {:a ("required")}} It's fairly simple and there are more examples of other features and built-in validators in the README on the homepage, along with installation instructions etc. Hope others may find it useful. Cheers, -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en