pub fn all(
results: List(Result(a, Geny(b))),
) -> Result(List(a), Geny(b))
pub fn flatten(
result: Result(Result(a, Geny(b)), Geny(b)),
) -> Result(a, Geny(b))
pub fn get_error(geny: Geny(a)) -> a
pub fn is_error(result: Result(a, Geny(b))) -> Bool
pub fn is_ok(result: Result(a, Geny(b))) -> Bool
pub fn lazy_or(
first: Result(a, Geny(b)),
second: fn() -> Result(a, Geny(b)),
) -> Result(a, Geny(b))
pub fn lazy_unwrap(
result: Result(a, Geny(b)),
or default: fn() -> a,
) -> a
pub fn map(
over result: Result(a, Geny(b)),
with fun: fn(a) -> c,
) -> Result(c, Geny(b))
pub fn map_error(
over result: Result(a, Geny(b)),
with fun: fn(b) -> c,
) -> Result(a, Geny(c))
pub fn nil_error(
result: Result(a, Geny(b)),
) -> Result(a, Geny(Nil))
pub fn or(
first: Result(a, Geny(b)),
second: Result(a, Geny(b)),
) -> Result(a, Geny(b))
pub fn then(
result: Result(a, Geny(b)),
apply fun: fn(a) -> Result(c, Geny(b)),
) -> Result(c, Geny(b))
pub fn to_normal(result: Result(a, Geny(b))) -> Result(a, b)
pub fn try(
result: Result(a, Geny(b)),
apply fun: fn(a) -> Result(c, Geny(b)),
) -> Result(c, Geny(b))
pub fn unwrap(result: Result(a, Geny(b)), or default: a) -> a
pub fn unwrap_both(result: Result(a, Geny(a))) -> a
pub fn unwrap_error(
result: Result(a, Geny(b)),
or default: b,
) -> b