5 ms·
Or, in this case, ->>: (def lols (->> strs (filter #(re-find #"LOL" %)) (map upper-case) sort)) How I rea
by tgkokk 12y ago
Or, in this case, ->>:
(def lols (->> strs
(filter #(re-find #"LOL" %))
(map upper-case)
sort))
How I read it: take strs, filter the strings that contain "LOL", turn them into upper case and then sort them. Basically it reads the same as the pipeline example in the README.