Learn R Programming

lenses (version 0.0.3)

id_l: The identity (trivial lens)

Description

This lens focuses on the whole object

Usage

id_l

Arguments

Format

An object of class lens of length 2.

Examples

Run this code
# NOT RUN {
x <- 1:10
view(x, id_l)
head(set(x, id_l, iris))
# }

Run the code above in your browser using DataLab