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.7)monad_0.1.1.zip(r-4.6)monad_0.1.1.zip(r-4.5)
monad_0.1.1.tgz(r-4.6-any)monad_0.1.1.tgz(r-4.5-any)
monad_0.1.1.tar.gz(r-4.7-any)monad_0.1.1.tar.gz(r-4.6-any)
monad_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
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/docs site:https://mikmart.github.io

On CRAN:

Conda:

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

Last updated from:fb8502bee9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK114
source / vignettesOK147
linux-release-x86_64OK108
macos-release-arm64OK141
macos-oldrel-arm64OK130
windows-develOK70
windows-releaseOK74
windows-oldrelOK64
wasm-releaseOK102

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