This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-08
Channels
- # beginners (76)
- # boot (13)
- # cider (3)
- # clara (7)
- # cljs-dev (254)
- # cljsrn (5)
- # clojure (20)
- # clojure-austin (2)
- # clojure-chicago (4)
- # clojure-dev (7)
- # clojure-russia (5)
- # clojure-spec (18)
- # clojurescript (68)
- # cursive (8)
- # datascript (3)
- # datomic (8)
- # garden (1)
- # hoplon (3)
- # lambdaisland (4)
- # luminus (20)
- # mount (19)
- # off-topic (30)
- # om (10)
- # onyx (8)
- # parinfer (14)
- # precept (7)
- # reagent (9)
- # unrepl (3)
- # untangled (72)
- # vim (4)
- # yada (1)
https://github.com/tpope/vim-fireplace/pull/301 I decided this was sufficiently bothering me.
Writing vimscript feels awkward after writing clj so long, the "natural" way to write many of these functions is:
(->
{:op :eval}
(assoc :code (format-doc 'foo.bar/a))
(add-pprint)
(add-boilerplate) ;; id, ns, session, etc.
(doto (register-collection-routine!))
(collect-all)
(rollup-responses))
Instead there seems to be several layers of functional calls which add more options to further function calls, and something pseudo-generic (read: not generic) that eventually handles the options.
https://squiddev.github.io/urn/ is perhaps the solution 🙂