Package: maybe 1.1.0
maybe: The Maybe Monad
The maybe type represents the possibility of some value or nothing. It is often used instead of throwing an error or returning `NULL`. The advantage of using a maybe type over `NULL` is that it is both composable and requires the developer to explicitly acknowledge the potential absence of a value, helping to avoid the existence of unexpected behaviour.
Authors:
maybe_1.1.0.tar.gz
maybe_1.1.0.zip(r-4.5)maybe_1.1.0.zip(r-4.4)maybe_1.1.0.zip(r-4.3)
maybe_1.1.0.tgz(r-4.4-any)maybe_1.1.0.tgz(r-4.3-any)
maybe_1.1.0.tar.gz(r-4.5-noble)maybe_1.1.0.tar.gz(r-4.4-noble)
maybe_1.1.0.tgz(r-4.4-emscripten)maybe_1.1.0.tgz(r-4.3-emscripten)
maybe.pdf |maybe.html✨
maybe/json (API)
NEWS
# Install 'maybe' in R: |
install.packages('maybe', repos = c('https://armcn.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/armcn/maybe/issues
Last updated 1 years agofrom:1e921f6712. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 31 2024 |
R-4.5-win | OK | Oct 31 2024 |
R-4.5-linux | OK | Oct 31 2024 |
R-4.4-win | OK | Oct 31 2024 |
R-4.4-mac | OK | Oct 31 2024 |
R-4.3-win | OK | Oct 31 2024 |
R-4.3-mac | OK | Oct 31 2024 |
Exports:%>%andand_thenand_then2and_then3bindfilter_justsfilter_mapfmapfrom_justfrom_maybeis_justis_maybeis_nothingjoinjustmaybemaybe_casemaybe_containsmaybe_equalmaybe_flattenmaybe_mapmaybe_map2maybe_map3not_emptynot_infinitenot_nanot_nannot_nullnot_undefinednothingorperhapswith_default
Dependencies:magrittr