This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-20
Channels
- # announcements (27)
- # aws (1)
- # beginners (62)
- # boot (5)
- # calva (56)
- # clj-kondo (6)
- # cljdoc (3)
- # cljsrn (4)
- # clojure (65)
- # clojure-dev (17)
- # clojure-europe (2)
- # clojure-italy (17)
- # clojure-nl (24)
- # clojure-spec (30)
- # clojure-uk (14)
- # clojurescript (35)
- # clr (7)
- # cursive (8)
- # data-science (3)
- # datascript (38)
- # datomic (15)
- # emacs (16)
- # fulcro (34)
- # hyperfiddle (1)
- # immutant (1)
- # luminus (7)
- # nrepl (1)
- # off-topic (38)
- # pedestal (2)
- # planck (10)
- # re-frame (7)
- # reagent (7)
- # reitit (9)
- # shadow-cljs (36)
- # sql (19)
- # tools-deps (11)
- # vim (64)
- # xtdb (18)
it would be great to have this available in cider or just Emacs anyway https://github.com/borkdude/re-find
a simple wrapper should be easy to do
Perhaps I would do a simple IDE-agnostic repl wrapper that calls the thing and then presents the results using clojure.pprint/print-table
if needed
As for easy access, I tend to use yasnippet
over the repl buffer (e.g. refind<TAB>
-> an expanded stubbed call of re-find
).
Plus requiring the lib in advance in Lein profiles.clj
Expose an extra orchard.repl
namespace that basically provides REPL-friendly wrappers for the core functionality.
Is there a way to only "export" certian functions when creating a package, instead of all of them being available globally?
is there any solution out there, maybe a suite of macros?
there's a convention of package-name-public
and package-name--private
(Double dashes)
yeah, I don't love that because when a user tries to find relevant packages the --private comes up first
but I know it's a standard
ah well, I won't harp on it much, I just hate that aspect of elisp
I was going to go with just local lets, or use that cl- let form for functions
cl-labels