Minimal Implementation of Functional Lenses


[Up] [Top]

Documentation for package ‘tinylens’ version 0.1.0

Help Pages

%.% Compose two lenses
attr_l Attributes lens
c_l Lens for accessing and modifying nested elements of a list or vector
filter_il Filter ilens
id_l Identity lens
index_l Index lens
indices_l Subset lens
i_l Subset lens
lens Create a lens
map_l Lens into a list or vector
names_l Names lens
over Modify the focused part of a data structure
over_map Map a function over a list lens
rows_l Rows lens
select_l include verbs.R include lens.R Select lens
set Set the focused part of a data structure
slice_l Slice lens
vec_data_l Vector data lens
view View the focused part of a data structure
where_il Predicate ilens