set: Modify data with a lens

Description Usage Arguments

Description

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.

Usage

1
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


cfhammill/fresnel documentation built on May 15, 2019, 1:13 p.m.