Functor: Functor class.

FunctorR Documentation

Functor class.

Description

Functor class.

Functor class.

Methods

Public methods


Method new()

Usage
Functor$new()

Method fmap()

Usage
Functor$fmap(fun)
Arguments
fun

function

fmap :: (a -> b) -> f a (=self) -> f b


Method clone()

The objects of this class are cloneable with this method.

Usage
Functor$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


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