(def some-list
[{:a2p-id "1", :dh-uuid "abc-def-ghi-klm"}
{:a2p-id "2", :dh-uuid "def-ghi-klm-opq"}
{:a2p-id "3", :dh-uuid nil}])
If you want to filter out only nil: (filter (comp (complement nil?)
:dh-uuid) some-list)
If you want to filter out nil or false: (filter (comp identity :dh-uui
Does Clojure have anything like Ruby's Datamapper or ActiveRecord (besides
clj-record)?
--
--
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 -
They're all in the (ns (:require [...])), so that's fine. The problem is, a
file which requires the concrete implementation won't get required by
another file for a while.
On Thursday, May 9, 2013 6:00:39 PM UTC-5, Gary Trakhman wrote:
>
> Do you have dynamic 'require' statements? Why? Should pr