Once AbstractSparseMatrixCSC API for accessors JuliaLang/julia#33054 is settled, I'd like to add set definitions for them. It'll let us use something like
The definition would be something like simply
set(A::SparseMatrixCSC, ::typeof(@lens nonzeros(_)), xs) = @set A.nzval = xs
@jw3126 Does it sound reasonable?