from typing import Optional
from typing import Any


def disj(l: Optional[list], v: Any) -> list:
    """disj(oin) a value from a list, returning a list with the value removed."""

    l = l or []
    return [e for e in l if e != v]