Class: MPrelude::Either
- Inherits:
-
Object
- Object
- MPrelude::Either
- Includes:
- AbstractType, Adamantium::Flat, Functor
- Defined in:
- lib/mprelude.rb
Overview
Maybe
Defined Under Namespace
Class Method Summary collapse
-
.wrap_error(error) ⇒ Either<Exception, Object>
Execute block and wrap error in left.