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.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'))

Peer review:

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

On CRAN:

3.78 score 4 stars 1 scripts 5 exports 1 dependencies

Last updated 4 days agofrom:fb8502bee9. Checks:OK: 6 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winERROROct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

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