Compose generic monadic function pipelines with %>>% and %>-% based on implementing the 'S7' generics fmap() and bind(). Methods are provided for the built-in list type and the maybe class from the 'maybe' package. The concepts are modelled directly after the Monad typeclass in Haskell, but adapted for idiomatic use in R.
Version: | 0.1.1 |
Depends: | R (≥ 4.1) |
Imports: | S7 |
Suggests: | maybe, purrr, roxygen2, testthat (≥ 3.0.0) |
Published: | 2024-10-28 |
DOI: | 10.32614/CRAN.package.monad |
Author: | Mikko Marttila [aut, cre] |
Maintainer: | Mikko Marttila <mikkmart at protonmail.com> |
BugReports: | https://github.com/mikmart/monad/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/mikmart/monad, https://mikmart.github.io/monad/ |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | monad results |
Reference manual: | monad.pdf |
Package source: | monad_0.1.1.tar.gz |
Windows binaries: | r-devel: monad_0.1.1.zip, r-release: not available, r-oldrel: monad_0.1.1.zip |
macOS binaries: | r-release (arm64): monad_0.1.1.tgz, r-oldrel (arm64): monad_0.1.1.tgz, r-release (x86_64): monad_0.1.1.tgz, r-oldrel (x86_64): monad_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=monad to link to this page.