3 ms·
The Clojure equivalent of `c |> baz |> bar |> foo` are the threading macros: (-> c baz bar foo) But people usually put it on separate lines: (-> c
by erichocean 1y ago
The Clojure equivalent of `c |> baz |> bar |> foo` are the threading macros:
(-> c baz bar foo)
But people usually put it on separate lines:
(-> c
baz
bar
foo)
- joeevans1000 1y agoAnd with the Emacs Enlighten feature the second version enables seeing the results of each step right in the editor, to the right of the step.
- erichocean 1y agoYou can achieve something similar in Clojure with the Flowstorm debugger[0] (it's free). [0] https://www.flow-storm.org/ https://www.flow-storm.org/