This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-21
Channels
- # admin-announcements (2)
- # aws-lambda (2)
- # beginners (26)
- # boot (179)
- # cider (36)
- # cljs-dev (118)
- # cljsrn (23)
- # clojure (150)
- # clojure-android (1)
- # clojure-austin (7)
- # clojure-austria (3)
- # clojure-canada (1)
- # clojure-dev (7)
- # clojure-dusseldorf (4)
- # clojure-germany (3)
- # clojure-greece (34)
- # clojure-nl (4)
- # clojure-quebec (9)
- # clojure-russia (30)
- # clojure-spec (38)
- # clojure-uk (3)
- # clojurescript (46)
- # clr (1)
- # core-async (2)
- # css (2)
- # cursive (17)
- # datomic (12)
- # devcards (8)
- # dirac (1)
- # docker (2)
- # hoplon (216)
- # jobs (2)
- # kekkonen (1)
- # lein-figwheel (18)
- # leiningen (2)
- # luminus (1)
- # mount (4)
- # off-topic (2)
- # om (15)
- # onyx (1)
- # parinfer (1)
- # pedestal (2)
- # planck (26)
- # reagent (98)
- # spacemacs (6)
- # specter (19)
- # spirituality-ethics (54)
- # untangled (22)
- # vim (24)
- # yada (4)
Hmm, I tested in the REPL and both Carry's EntangledReference and Lentes' lenses do satisfy that
Validating the card options doesn't use atom-like
, it checks to see if the initial data is an atom (or vector, or a map)
(defn validate-card-options [opts]
(if (map? opts)
...
(or (nil? initial-data)
(vector? initial-data)
(map? initial-data)
(satisfies? IAtom initial-data)
{:label :initial-data
:message "should be an Atom or a Map or nil."
:value initial-data})]
...
I guess we could add something like writable-atom-like?
and readable-atom-like?
, and when the options are validated, only require that the data be a writable thing if history is true in the options