module Monads::Leftable(E, T)

Direct including types

Defined in:

monads/either.cr

Instance Method Summary

Instance Method Detail

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

[View source]
def fmap(lambda : T -> U) : Leftable(E, U) forall U #

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

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

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

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

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

[View source]