@johanatan just use multiple collect calls:
(select [ALL (collect-one FIRST) LAST ALL (collect-one FIRST) LAST] {:a {:b {:c :d}}})
;; => [[:a :b {:c :d}]]
Ah, I guess I’m confused why you can’t use MAP-KEYS?
(For either the collection or the navigation)
MAP-KEYS
navigates you to each key of the map
so navigating MAP-KEYS
again will navigate you to the keys of the keys
since the first set of keys are keywords you get that error