

cider-doc to Clojure, The Essential Reference
source link: https://www.eigenbahn.com/2020/06/04/emacs-clojure-essential-ref
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

cider-doc to Clojure, The Essential Reference
June 4, 2020The Clojure Standard Library
Clojure’s standard library (aka the Core Library) is well thought-of and a pleasure to use.
But it’s pretty massive with around 700 functions and macros provided1, some of them having several (potentially tricky) use-cases and ways to combine them.
Moreover their documentation tend to be very concise, working more like little refreshers.
A step up is to use ClojureDocs and its user-provided examples.
A proper reference
I stumbled upon Clojure, The Essential Reference2, a book that aims at being a proper reference to the Core Library, with exhaustive descriptions and examples.
It has become my go-to reference for getting the specificities of core functions and macros.
Jump to documentation from within Emacs
Emacs and CIDER provide convenience commands to jump to the documentation of a symbol:
cider-doc
: Show the docstring of the symbol (+ related symbols)cider-clojuredocs
andcider-clojuredocs-web
: Same but use ClojureDocs as a source,
I quickly wanted to have a similar capability with Clojure, The Essential Reference, thus I started writing a package.
Sadly I didn’t find any programmatic symbol index I could parse. So I decided to make one with semi-automated parsing of the book’s Table of Content.
Introducing new package: clojure-essential-ref.
I you find anything missing, don’t hesitate to suggest corrections with tickets or PRs.
Notes
For comparison, C’s provides half of that. ↩
It’s not free. A limited amount of content can be freely consulted each day in the linked online version, though. ↩
Recommend
-
171
README.md CIDER is...
-
43
Prologue This post is part of the mini-series “CIDER’s Orchard”. Currently I’m planning 3 installments in the series, but this might change depending on my inspiration. CIDER’s Orchard: The Heart CIDER’s Orchard: The Periphery CIDER’s Orchard: T...
-
7
CIDER 1.0 Dec 28, 2020 | Emacs CIDER...
-
5
Published on 30th Jan 2021
-
7
SHEIN的后浪们:硅谷投资神话A16Z再投Cider_详细解读_最新资讯_热点事件_36氪SHEIN的后浪们:硅谷投资神话A16Z再投Cider36氪出海2021-06-09SHEIN会成为一个模版吗...
-
7
出海 DTC 品牌 Cider 完成 1.3 亿美元 B 轮融资,估值超 10 亿美元2021/09/03 17:16|
-
6
Cider Security launches application security platform Enterprise-level security options will soon be available for small and midsized businesses. Image Credit: kentoh/Shuttersto...
-
5
ACV+ Apple Cider Vinegar - Does it Really Work? I expect I have a habit of meaningful guidance. I definitely g...
-
10
fdhdfh Posted on Apr 1...
-
6
ACV+ Apple Cider Vinegar Gummies - Read The Real Information (SCAM ALERT!)
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK