first_l: A lens into the first element

Description Usage Format

Description

Lens version of x[[1]] and x[[1]] <- val x <- 1:10 view(x, first_l) set(x, first_l, 50)

[[1]: R:[1 [[1]: R:[1

Usage

1

Format

An object of class lens of length 2.


lenses documentation built on May 2, 2019, 8:51 a.m.