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/focal documentation built on May 23, 2019, 6:04 p.m.