Package: tinylens 0.1.0.9000

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.9000.tar.gz
tinylens_0.1.0.9000.zip(r-4.5)tinylens_0.1.0.9000.zip(r-4.4)tinylens_0.1.0.9000.zip(r-4.3)
tinylens_0.1.0.9000.tgz(r-4.5-any)tinylens_0.1.0.9000.tgz(r-4.4-any)tinylens_0.1.0.9000.tgz(r-4.3-any)
tinylens_0.1.0.9000.tar.gz(r-4.5-noble)tinylens_0.1.0.9000.tar.gz(r-4.4-noble)
tinylens_0.1.0.9000.tgz(r-4.4-emscripten)tinylens_0.1.0.9000.tgz(r-4.3-emscripten)
tinylens.pdf |tinylens.html
tinylens/json (API)
NEWS

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

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

On CRAN:

Conda:

3.70 score 2 stars 3 scripts 123 downloads 20 exports 6 dependencies

Last updated 4 months agofrom:3dfb2da973. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 13 2025
R-4.5-winNOTEMar 13 2025
R-4.5-macNOTEMar 13 2025
R-4.5-linuxNOTEMar 13 2025
R-4.4-winNOTEMar 13 2025
R-4.4-macNOTEMar 13 2025
R-4.4-linuxNOTEMar 13 2025
R-4.3-winNOTEMar 13 2025
R-4.3-macNOTEMar 13 2025

Exports:%.%attr_lc_lfilter_ili_lid_lindex_lindices_llensmap_lnames_loverover_maprows_lselect_lsetslice_lvec_data_lviewwhere_il

Dependencies:cligluelifecyclerlangS7vctrs