Applicative: Applicative class. This also defines the interface for...

ApplicativeR Documentation

Applicative class. This also defines the interface for Alternative.

Description

Applicative class. This also defines the interface for Alternative.

Applicative class. This also defines the interface for Alternative.

Super class

rhaskell::Functor -> Applicative

Methods

Public methods

Inherited methods

Method pure()

Usage
Applicative$pure(x)
Arguments
x

element

pure :: a -> f a Sequential application, i.e. (<*>)


Method apply()

Usage
Applicative$apply(x)
Arguments
x

Applicative element

apply :: f (a -> b) (=self) -> f a -> f b Identity of alt

empty :: f a An associative binary operation

alt :: f a (=self) -> f a -> f a


Method empty()

Usage
Applicative$empty()

Method alt()

Usage
Applicative$alt(other)

Method clone()

The objects of this class are cloneable with this method.

Usage
Applicative$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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