"""Functional programming utilities: Result, Stream, compose, and more."""

from __future__ import annotations

from .new_type import new_type
from .result import Err, Ok, Result
from .safe import safe, safe_method
from .stream import Stream
from .utils import (
    all_of,
    any_of,
    compose,
    identity,
    invert,
    none_of,
)

__all__ = [
    "Err",
    "Ok",
    "Result",
    "Stream",
    "all_of",
    "any_of",
    "compose",
    "identity",
    "invert",
    "new_type",
    "none_of",
    "safe",
    "safe_method",
]
