Package: monad 0.1.1

Mikko Marttila

monad: Operators and Generics for Monads

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.

Authors:Mikko Marttila [aut, cre]

monad_0.1.1.tar.gz
monad_0.1.1.zip(r-4.5)monad_0.1.1.zip(r-4.4)monad_0.1.1.zip(r-4.3)
monad_0.1.1.tgz(r-4.5-any)monad_0.1.1.tgz(r-4.4-any)monad_0.1.1.tgz(r-4.3-any)
monad_0.1.1.tar.gz(r-4.5-noble)monad_0.1.1.tar.gz(r-4.4-noble)
monad_0.1.1.tgz(r-4.4-emscripten)monad_0.1.1.tgz(r-4.3-emscripten)
monad.pdf |monad.html
monad/json (API)
NEWS

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

Bug tracker:https://github.com/mikmart/monad/issues

Pkgdown site:https://mikmart.github.io

On CRAN:

3.48 score 6 stars 3 scripts 484 downloads 5 exports 1 dependencies

Last updated 4 months agofrom:fb8502bee9. Checks:6 OK, 2 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 27 2025
R-4.5-winNOTEJan 27 2025
R-4.5-macOKJan 27 2025
R-4.5-linuxNOTEJan 27 2025
R-4.4-winOKJan 27 2025
R-4.4-macOKJan 27 2025
R-4.3-winOKJan 27 2025
R-4.3-macOKJan 27 2025

Exports:%>-%%>>%bindfmapjoin

Dependencies:S7

Readme and manuals

Help Manual

Help pageTopics
Functor Lawsfunctor-laws
The List MonadList
The Maybe MonadMaybe
Monad Operators and Generics%>-% %>>% bind fmap join monad
Monad Lawsmonad-laws