//! Parser combinators for parsing propositional formulas from strings.
use PropositionalFormula;
/// Newtype for [`nom::IResult`] so we don't expose third-party API.
///
/// # Type Parameters
///
/// - `I`: input type.
/// - `O`: output type.
///
/// # Error Type
///
/// We default to `nom`'s error type which implements `std::error::Error` so we can use the `?`
/// operator.
///
/// [`nom::IResult`]: https://docs.rs/nom/5.1.1/nom/type.IResult.html
pub type ParseResult<I, O> = IResult;