This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-13
Channels
- # announcements (5)
- # babashka (23)
- # beginners (3)
- # business (6)
- # clj-kondo (40)
- # clojure (81)
- # clojure-berlin (1)
- # clojure-france (12)
- # clojure-nl (1)
- # clojure-norway (1)
- # clojurescript (4)
- # cursive (7)
- # data-science (1)
- # datascript (1)
- # emacs (9)
- # events (1)
- # fulcro (37)
- # malli (3)
- # meander (5)
- # membrane (2)
- # nrepl (1)
- # parinfer (1)
- # pathom (9)
- # re-frame (31)
- # reitit (10)
- # sci (2)
- # shadow-cljs (3)
- # sql (3)
- # tools-deps (16)
- # uncomplicate (4)
- # vrac (1)
Hi, quick question, is it possible to use the value of a memory var twice? In something like:
(m/rewrite [:a :b]
[!x ...]
(m/map-of ????))
;=> {:a :a :b :b}
You can make two memory variables using and. https://github.com/noprompt/meander/blob/epsilon/doc/cookbook.md#use-the-same-value-from-a-memory-variable-twice
@U5K8NTHEZ Thanks! I thoght about that trick and must have screwed it up when I tried...
🙂 3
as an aside I read your post about rewriting meander with meander. Pretty cool stuff!
Glad you liked it :)