Learn R Programming

lenses (version 0.0.3)

unlist_l: Unlist lens

Description

A lens between a list and an unrecursively unlisted object.

Usage

unlist_l

Arguments

Format

An object of class lens of length 2.

Examples

Run this code
# NOT RUN {
(x <- list(x = list(y = 1:10)))
view(x, unlist_l)
set(x, unlist_l %.% unlist_l, rep("hello", 10))
# }

Run the code above in your browser using DataLab