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
class
Monads::Try(T)
Monads::Try(T)
Reference
Object
Defined in:
monads/try.cr
Constructors
.new
(proc)
Instance Method Summary
#to_either
#to_maybe
Constructor Detail
def self.
new
(proc)
#
[
View source
]
Instance Method Detail
def
to_either
#
[
View source
]
def
to_maybe
#
[
View source
]