This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-23
Channels
- # announcements (7)
- # babashka (11)
- # babashka-sci-dev (1)
- # beginners (8)
- # biff (1)
- # calva (8)
- # chlorine-clover (3)
- # cider (9)
- # clj-kondo (16)
- # cljdoc (9)
- # clojure (79)
- # clojure-australia (1)
- # clojure-dev (5)
- # clojurescript (24)
- # data-science (3)
- # datomic (2)
- # emacs (54)
- # fulcro (1)
- # graalvm (1)
- # jobs (5)
- # lsp (25)
- # malli (7)
- # meander (10)
- # off-topic (44)
- # other-languages (8)
- # portal (10)
- # remote-jobs (1)
- # sci (1)
- # shadow-cljs (6)
- # vim (4)
I feel I'm missing something obvious; if I've got a [:map [:name :string] [:age :int]]
schema, what's the best way to get back the coll of keys [:name :age]
?
Looking at the transformers, I guess it would be:
(some->> schema m/entries (map first) seq)
This is awesome! I never used schema, and I'm loving the new malli.experimental/defn
. How do you make it play nicely with Cursive? I've been unable configure the cursive resolution to get rid of all the yellow squigglies
thanks! You should mark it to be resolved as schrma.core/defn
. And go vote up https://github.com/cursive-ide/cursive/issues/2645
👍 1