def test_from_nonempty_list() -> None: assert Just(2) == Maybe.fromList([2, 4, 6])
def test_from_empty_list() -> None: assert Nothing() == Maybe.fromList([])