[][src]Enum nar::check::pats::block::Stuck

pub enum Stuck {
    OnMeta(MI),
    OnElim(Elim),
    UnderApplied,
    AbsurdMatch,
    MissingClauses,
    NotBlocked,
}

A modified version of this thing in Agda.

Variants

OnMeta(MI)

Blocked by meta.

OnElim(Elim)

The Elim is neutral and blocks a pattern match.

UnderApplied

Not enough arguments were supplied to complete the matching.

AbsurdMatch

We matched an absurd clause, results in a neutral Def.

MissingClauses

We ran out of clauses, all considered clauses produced an actual mismatch. This can happen when try to reduce a function application, but we are still missing some function clauses. See Agda.TypeChecking.Patterns.Match.

NotBlocked

Reduction was not blocked, we reached a whnf which can be anything, but a stuck Whnf::Redex.

Methods

impl Stuck[src]

pub fn is_meta(&self) -> Option<MI>[src]

Trait Implementations

impl Add<Stuck> for Stuck[src]

type Output = Self

The resulting type after applying the + operator.

impl Clone for Stuck[src]

impl Debug for Stuck[src]

impl Default for Stuck[src]

impl Display for Stuck[src]

Auto Trait Implementations

impl RefUnwindSafe for Stuck

impl Send for Stuck

impl Sync for Stuck

impl Unpin for Stuck

impl UnwindSafe for Stuck

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.