# `encrustable` - basic components of Rust's type system magic
# Copyright (C) 2025 Artur Ciesielski <artur.ciesielski@gmail.com>

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

from encrustable.option import Nothing, Option, Some
from encrustable.option import flatten as flatten_option
from encrustable.option import transpose as transpose_option
from encrustable.panic import Panic
from encrustable.result import Err, Ok, Result
from encrustable.result import flatten as flatten_result
from encrustable.result import transpose as transpose_result

__all__ = [
    "Err",
    "Nothing",
    "Ok",
    "Option",
    "Panic",
    "Result",
    "Some",
    "flatten_option",
    "flatten_result",
    "transpose_option",
    "transpose_result",
]
