Algae v0.12.1 Algae.Either.Right
Represent one side of a branching condition. In the case of representing
potential error conditions, Right
is traditionally associated with
the nominal branch.
Examples
iex> %Algae.Either.Right{right: 88}
%Algae.Either.Right{right: 88}
Summary
Functions
Wrap a value in a Right
struct
Types
t :: %Algae.Either.Right{right: any}
Functions
Specs
new(any) :: Algae.Either.Right.t
Wrap a value in a Right
struct
Examples
iex> new("here")
%Algae.Either.Right{right: "here"}