Summary
Functions
@spec crypto_rand_number() :: non_neg_integer()
@spec map_value({:ok, v} | {:error, e}, (v -> k)) :: {:ok, k} | {:error, e}
when v: var, e: var, k: var
@spec maybe_wrap({:ok, v} | v) :: {:ok, v} when v: var
@spec ok(v) :: {:ok, v} when v: var
@spec unwrap({:ok, k} | {:error, any()}) :: k when k: var