Monad: Monad class.

MonadR Documentation

Monad class.

Description

Monad class.

Monad class.

Super classes

rhaskell::Functor -> rhaskell::Applicative -> Monad

Methods

Public methods

Inherited methods

Method new()

Usage
Monad$new()

Method bind()

Usage
Monad$bind(fun)
Arguments
fun

function taking pure value and return monadic value

bind :: m a (=self) -> (a -> m b) -> m b


Method clone()

The objects of this class are cloneable with this method.

Usage
Monad$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


schnecki/rhaskell documentation built on Oct. 30, 2022, 10:23 a.m.