Package: tinylens 0.1.0

Albert Wang

tinylens: Minimal Implementation of Functional Lenses

Provides utilities to create and use lenses to simplify data manipulation. Lenses are composable getter/setter pairs that provide a functional approach to manipulating deeply nested data structures, e.g., elements within list columns in data frames. The implementation is based on the earlier 'lenses' R package <https://github.com/cfhammill/lenses>, which was inspired by the Haskell 'lens' package by Kmett (2012) <https://github.com/ekmett/lens>, one of the most widely referenced implementations of lenses. For additional background and history on the theory of lenses, see the 'lens' package wiki: <https://github.com/ekmett/lens/wiki/History-of-Lenses>.

Authors:Albert Wang [aut, cre, cph]

tinylens_0.1.0.tar.gz
tinylens_0.1.0.tar.gz(r-4.5-noble)tinylens_0.1.0.tar.gz(r-4.4-noble)
tinylens_0.1.0.tgz(r-4.4-emscripten)tinylens_0.1.0.tgz(r-4.3-emscripten)
tinylens.pdf |tinylens.html
tinylens/json (API)
NEWS

# Install 'tinylens' in R:
install.packages('tinylens', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/arbelt/tinylens/issues

1.70 score 3 scripts 20 exports 6 dependencies

Last updated 14 days agofrom:fc280272ea. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 10 2024
R-4.5-linuxOKDec 10 2024

Exports:%.%attr_lc_lfilter_ili_lid_lindex_lindices_llensmap_lnames_loverover_maprows_lselect_lsetslice_lvec_data_lviewwhere_il

Dependencies:cligluelifecyclerlangS7vctrs