module Monads::Leftable(E)

Direct including types

Defined in:

monads/either.cr

Instance Method Summary

Instance Method Detail

def bind(lambda : _ -> _) : Leftable(E) #

[View source]
def fmap(lambda : _ -> _) : Leftable(E) #

[View source]
def map_or(default : U, lambda : _ -> _) forall U #

[View source]
def or(monad : Either) #

[View source]
def or(lambda : E -> _) #

[View source]
def value_or(lambda : E -> _) #

[View source]
def value_or(element : U) forall U #

[View source]