Using lens-set with assoc-lens does not work in case the key is not present.
> (lens-set (assoc-lens 'a) '((b 1)) 123)
'((b 1))
Using the dict-ref-lens does in fact set the key properly.
> (lens-set (dict-ref-lens 'a) '((b 1)) 123)
'((b 1) (a . 123))
To me this seems like a bug or is this intentional?