2022-07-28

Published: Nov 08, 2022Last modified: Apr 05, 2023
Word count: 128

was writing a crazy loop/reduce to get all the nested org items

but then i googled it and found `tree-seq`

(tree-seq (comp seq :org/items) :org/items (path->nested-item p))

thanks clojure!