Set the subcomponent of the data referred to by a lens with a new value. See lens for details. Merely dispatches to the set component of the lens.

set(d, l, x)

Arguments

d

the data, or an oscope

l

the lens, or in the case of an oscope, the replacement

x

the replacement value, or nothing in the case of an oscope