4 ms·
Clojure has the as-> threading macro (probably borrowed from another lisp) where you can specify the placeholder: (as-> [:foo :bar] v (map name v) (f
by rojoca 5y ago
Clojure has the as-> threading macro (probably borrowed from another lisp) where you can specify the placeholder:
(as-> [:foo :bar] v
(map name v)
(first v)
(.substring v 1))