This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-29
Channels
- # 100-days-of-code (2)
- # bangalore-clj (1)
- # beginners (141)
- # cider (33)
- # cljs-dev (13)
- # cljsjs (7)
- # cljsrn (1)
- # clojure (88)
- # clojure-conj (3)
- # clojure-dev (24)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (53)
- # clojurescript (65)
- # core-logic (2)
- # cursive (28)
- # datomic (33)
- # duct (2)
- # emacs (3)
- # figwheel-main (9)
- # fulcro (44)
- # hoplon (6)
- # leiningen (144)
- # mount (1)
- # nrepl (21)
- # off-topic (102)
- # onyx (2)
- # other-languages (5)
- # pathom (6)
- # planck (3)
- # portkey (1)
- # re-frame (7)
- # reagent (5)
- # reitit (17)
- # shadow-cljs (24)
- # spacemacs (16)
- # tools-deps (64)
- # uncomplicate (2)
- # vim (22)
Streams are typically used in a reduce-like fashion (with a Collector at the end) rather than as seq / iterable. Perhaps extending CollReduce to Stream could be useful
is there a good reason for Var
to have an internal dynamic
attribute instead of using metadata the way the macro and private flags work?
isn't that just compile time?
I remember for some time there could be a mismatch between the attribute and metadata too
I feel like you could argue that having the metadata present is fairly misleading if it doesn't actually have any effect
oh it's still open https://dev.clojure.org/jira/browse/CLJ-859
okay well at least it's been talked about
as far as I remember, for some time there was just setDynamic
, and dynamic vars had to be earmuffed -- then the :dynamic metadata was added
you can at least still have a mismatch, I just verified that
if I alter-meta!
something to add/remove the ^:dynamic
flag, it has no effect on the result of .isDynamic
I feel like the cleanest thing is to remove the internal flag altogether, but I'm not a dentist
A dentist?
test.checkup
I saw somebody on twitter use "I'm no dentist" as a non-sequitur stand-in for "I'm not an expert" and now I can't stop doing it