Module tool::monad[][src]

Useful traits and functions for working with monads (Option/Result).

Modules

prelude

Useful functions exported by tool::monad.

Traits

Ok

Types of values that can be "Ok".

Unwrap

Abstracts over unwrapping.

Functions

ok

Converts Result-like values into Options.

unwrap

Unwraps the value.