but I find the following even easier to understand
Entirely subjective. To me, "#(= (:" is pure line noise.
Entirely subjective. To me, "#(= (:" is pure line noise.
(fn [x] (= (:role x) 'developer))I suggest you learn the language you program in; problem solved.
All programming languages look more or less like words interspersed with line noise if you're not familiar with the syntax.