module CRZ::Monad(A)

Included Modules

Direct including types

Defined in:

crz/interfaces.cr

Instance Method Summary

Instance methods inherited from module CRZ::Applicative(A)

*(func : Applicative(A -> B)) : Applicative(B) forall B *

Class methods inherited from module CRZ::Applicative(A)

of(value : A) : Applicative(A) forall A of

Instance methods inherited from module CRZ::Functor(A)

replace(other : Functor(B), v : A) : Functor(A) replace

Instance Method Detail

def <<(other : Monad(B)) : Monad(A) forall B #

[View source]
def >=(block : A -> Monad(B)) : Monad(B) forall B #

[View source]
def >>(other : Monad(B)) : Monad(B) forall B #

[View source]
def ap(func : Applicative(A -> B)) : Applicative(B) forall B #

[View source]
def map(&block : A -> B) : Monad(B) forall B #

[View source]