Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
monads
v1.0.0
Monads
Either
Functor
Just
Left
Leftable
LeftException
List
Maybe
Monad
Nothing
Right
Task
Try
UnwrapError
Built with Crystal 1.9.2
2023-10-08 09:00:02 UTC
abstract struct
Monads::Functor(T)
Monads::Functor(T)
Struct
Value
Object
Direct Known Subclasses
Monads::Monad(T)
Defined in:
monads/functor.cr
Constructors
.new
Instance Method Summary
#fmap
(lambda : T -> U)
#fmap
(&block : T -> U) forall U
#initialize
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
abstract def
fmap
(lambda : T -> U)
#
[
View source
]
def
fmap
(&block : T -> U) forall U
#
[
View source
]
def
initialize
#
[
View source
]