View Source Maybe (ExUnion v0.1.2)
Link to this section Summary
Link to this section Types
@type t() :: union()
@type union() :: Maybe.None.t() | Maybe.Some.t()
@type union_none() :: Maybe.None.t()
@type union_some() :: Maybe.Some.t()
Link to this section Functions
@spec none() :: Maybe.None.t()
See Maybe.None.new/0
.
@spec some(value :: any()) :: Maybe.Some.t()
See Maybe.Some.new/1
.