module Dry::Monads::Maybe::Mixin

A module that can be included for easier access to Maybe monads.

Constants

Maybe

Represents a value which can exist or not, i.e. it could be nil.

@api public

None

Represents an absence of a value, i.e. the value nil.

@api public

Some

Represents a value that is present, i.e. not nil.

@api public