This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-25
Channels
- # announcements (4)
- # babashka (58)
- # beginners (21)
- # calva (42)
- # clj-kondo (15)
- # cljdoc (16)
- # cljs-dev (11)
- # clojure (57)
- # clojure-denmark (1)
- # clojure-europe (24)
- # clojure-france (4)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-spec (6)
- # clojure-uk (2)
- # clojurescript (19)
- # clr (4)
- # conjure (1)
- # core-logic (3)
- # cursive (5)
- # data-science (2)
- # datascript (6)
- # datomic (3)
- # emacs (4)
- # events (3)
- # fulcro (17)
- # gratitude (2)
- # hyperfiddle (4)
- # introduce-yourself (3)
- # jobs-discuss (2)
- # lsp (27)
- # malli (22)
- # pathom (73)
- # portal (21)
- # re-frame (5)
- # releases (1)
- # vim (8)
- # xtdb (28)
Anybody know a way to reflect on namespaces? I want to do the equivalent of (dir <ns>) but instead of it printing I want a list of strings or symbols of the public forms it contains.
Clojure has dir-fn
available for the data of dir
, not sure if that's a thing in cljr
and of course, that's just built on ns-publics
and ns-aliases
in clojure.core, if the equivalent exist
Meant to get back to you sooner on this @U064X3EF3 but dir-fn
works like a charm. It helps to read the clojure source! Thanks for the pointer.
4