def test_from_ok() -> None: assert Just(3) == Maybe.fromResult(Ok(3))
def test_from_err() -> None: assert Nothing() == Maybe.fromResult(Err("oops"))