This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-04
Channels
- # admin-announcements (1)
- # adventofcode (98)
- # announcements (5)
- # asami (3)
- # babashka (24)
- # beginners (51)
- # bitcoin (3)
- # calva (24)
- # clj-kondo (73)
- # cljdoc (5)
- # cljs-dev (2)
- # clojure (15)
- # clojure-czech (3)
- # clojure-dev (27)
- # clojure-europe (7)
- # clojure-gamedev (1)
- # clojure-italy (2)
- # clojure-uk (1)
- # conjure (4)
- # cursive (18)
- # datahike (4)
- # datomic (3)
- # deps-new (7)
- # emacs (1)
- # events (10)
- # fulcro (5)
- # honeysql (4)
- # jackdaw (2)
- # java (13)
- # lsp (85)
- # meander (9)
- # membrane (1)
- # minecraft (1)
- # off-topic (45)
- # re-frame (16)
- # sql (17)
- # tools-deps (10)
- # vscode (9)
- # xtdb (8)
gen-class will turn metadata into annotations
Doesn’t gen-class mean that you can’t easily do REPL driven development? And fwiw, I know that e.g deftype supports adding annotations for classes that are defined dynamically, so ideally I’d have a proxy that allows the same. Thanks either way!
Yeah, I don't know if proxy can support this
Or rather I think it it works there too, see https://clojure.org/reference/datatypes#_java_annotation_support for more on using with deftype etc
anyone knows how to use local relative path in dependencies instead of :git/url
in deps.edn
?
Thank you @U01GXCWSRMW!
Is the https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L2748 returned by the map transducer ever used?
Very interesting. It appears this is achieved via clojure.lang.TransformerIterator/createMulti
, which doesn't appear to be used anywhere else in core, which makes me think this is the only way this arity will be invoked via core fns
That's the only place you can get to it right now
It may be leveraged elsewhere in the future
Generally, the transducer arities would start to fight with the non transducer arities for stuff like this