miniblog.
← Back to all posts
Nov 2, 2013 at 01:26
If Clojure supported custom reader macros, I'd add support for #[1 %] as being equivalent to #(vector 1 %). Ah, the power/danger tradeoff.
Wilfred Hughes
Related Posts
Apr 3, 2024 at 04:57
tap> is an elegant Clojure debugging feature: it passes the argument to any functions registered with add-tap. You might set up a custom printer for your data type, or save values for later examination, and you can easily disable the tap too.
Debugging Clojure at the REPL using tap>
Sometimes, old habits die hard. For a long time, I've done a lot of debugging in my Clojure code at...
Wilfred Hughes
Shared words: Clojure, custom, add Score: 99
Nov 2, 2016 at 02:11
Interesting thread on Clojure-style function literals in elisp:
https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00618.html
(unsuccessful but there's interest in reader macros)
[PATCH] Clojure-like syntactic sugar for an anonymous function literal
lists.gnu.org/archive/html/emacs-devel/2015-01/msg00618.html
Wilfred Hughes
Shared words: Clojure, reader, macros Score: 97.8
Jan 17, 2019 at 23:03
Does a "blog comments" style system make sense on a PL docs site? E.g. official PHP docs:
https://secure.php.net/manual/en/function.count.php
or community Clojure docs:
https://clojuredocs.org/clojure.core/count
You want to promote contributions, but official docs are better off being patched. Tradeoffs!
PHP: count - Manual
Counts all elements in an array or in a Countable object
count - clojure.core | ClojureDocs - Community-Powered Clojure Documentation and Examples
clojuredocs.org/clojure.core/count
Wilfred Hughes
Shared words: Clojure, tradeoff Score: 67.4