This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-01
Channels
- # announcements (53)
- # babashka (27)
- # beginners (103)
- # biff (1)
- # calva (21)
- # cider (5)
- # circleci (12)
- # clj-kondo (7)
- # cljfx (3)
- # cljsrn (9)
- # clojure (25)
- # clojure-europe (21)
- # clojure-nl (1)
- # clojure-uk (21)
- # clojured (1)
- # clojurescript (49)
- # cursive (20)
- # datomic (33)
- # events (3)
- # fulcro (39)
- # graalvm (20)
- # graphql (2)
- # introduce-yourself (1)
- # jobs (14)
- # keechma (3)
- # lsp (34)
- # malli (18)
- # meander (15)
- # off-topic (30)
- # polylith (10)
- # re-frame (21)
- # releases (2)
- # remote-jobs (5)
- # sci (10)
- # shadow-cljs (16)
- # tools-deps (2)
- # vim (6)
Some hilarious examples.
(let [m {:a 1 :b 2 :c 3 :d 4 :e 5 :f 6 :g 7 :h 8 :i 9}]
(r/find m
{:g 7 :h 8 :i 9
&a {?k (r/pred even?) & '{} :as ?m1}
&b ?m2}
[?k ?m1 ?m2]))
;; =>
[:f {:f 6} {:e 5, :c 3, :b 2, :d 4, :a 1}]
(let [?m1 {:a 1 :b 2}
?m2 {:c 3 :d 4}
?kvs1 [[:e 5] [:f 6]]]
(r/subst {&1 ?m1
&2 ?m2
&3 ?kvs1
&4 [[:g 7] [:h 8] [:i 9]]}))
;; =>
{:a 1 :b 2 :c 3 :d 4 :e 5 :f 6 :g 7 :h 8 :i 9}
So just FYI the new syntax will allow you to write
(a b c & _ l m n & _ x y z)
instead of
(a b c . _ ... l m n . _ ... x y z)
The PR is still open, I havenāt merged anything yet. Iām waiting on review/approval/comments from others (if anyone has them).
I'm still not here, but tomorrow I'll be talking publicly about why meander is awesome
Everyone: Iām also starting to make some updates to the backlog. Currently Iām moving some issues to the discussions section, and closing issues which either canāt be resolved or do not seem like ādiscussion materialā pending an action plan, etc.
Probably the most important discussion at the moment will is the one about configuration: https://github.com/noprompt/meander/discussions/179