Finally! A use for `juxt`!

This could be written as:
```clojure
(defn- depth-first [paths]
  ((juxt peek pop) paths))
```

I actually prefer your version though, as the names make it clearer what's going on.