Fork me on GitHub

Does anyone know if there's something similar to (get-in) in Common Lisp? To access nested slot-values? So I'm having to do something like

(slot-value (slot-value (current-window) 'xwin) 'xlib::id)
In Clojure it would've been (get-in (current-window) [:xwin :xlib/id]) or something like that. Is there anything like that in CL?


I think you would use a lenses lib for that, but have never tried. A quick Google returned this: