This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-15
Channels
- # admin-announcements (7)
- # alda (1)
- # aws-lambda (1)
- # beginners (12)
- # boot (20)
- # cider (59)
- # cljs-dev (4)
- # cljsrn (69)
- # clojure (232)
- # clojure-austin (3)
- # clojure-austria (1)
- # clojure-belgium (2)
- # clojure-canada (3)
- # clojure-dev (16)
- # clojure-greece (33)
- # clojure-nl (4)
- # clojure-quebec (12)
- # clojure-russia (12)
- # clojure-spec (27)
- # clojure-uk (38)
- # clojurescript (29)
- # community-development (7)
- # component (53)
- # core-async (16)
- # core-logic (1)
- # datascript (7)
- # datomic (11)
- # editors (7)
- # emacs (69)
- # hoplon (157)
- # keechma (1)
- # lambdaisland (2)
- # lein-figwheel (31)
- # leiningen (8)
- # mount (3)
- # off-topic (11)
- # om (23)
- # onyx (64)
- # planck (2)
- # re-frame (18)
- # reagent (21)
- # specter (118)
- # untangled (145)
- # yada (1)
holy wow @dmbennett that string-interpolation stuff is A+++, thanks for alerting me to it
Can you give an example of what you mean?
@jeff.engebretsen: what are you referring to?
Nothing I guess..
does anyone know how to add a function to lein in such a way that all lein repls can call that function?
Say I want to have this macro available anytime I repl
(defmacro valid-args?
"returns a list of args for given function"
[function-name]
`(:arglists (meta (var ~function-name))))
@dmbennett: user.clj
In particular, see this suggested approach http://stackoverflow.com/questions/18551918/how-does-one-pre-load-a-clojure-file-in-the-leiningen-repl
(with Boot, you’d put such "global" functions/macros in your ~/.boot/profile.boot
file)