This page requires javascript to work

[][src]Enum minitt::check::read_back::NormalExpression

pub enum NormalExpression {
    Lambda(u32Box<Self>),
    Pair(Box<Self>, Box<Self>),
    Unit,
    One,
    Type(Level),
    Pi(Box<Self>, u32Box<Self>),
    Sigma(Box<Self>, u32Box<Self>),
    Constructor(StringBox<Self>),
    Split(NormalCaseTree),
    Sum(NormalCaseTree),
    Neutral(NormalNeutral),
}

NExp in Mini-TT, normal form expressions.
Deriving Eq so we can do comparison.

$E ::=$

Variants

Lambda(u32Box<Self>)

$\lambda \textsf{x}_i\ .\ E$

Pair(Box<Self>, Box<Self>)

$E_1, E_2$

Unit

$0$

One

$\textbf{1}$

Type(Level)

$\textsf{U}$

Pi(Box<Self>, u32Box<Self>)

$\Pi \textsf{x}_i:E_1.E_2$

Sigma(Box<Self>, u32Box<Self>)

$\Sigma \textsf{x}_i:E_1.E_2$

Constructor(StringBox<Self>)

$c\ E$

$\textsf{fun}\lang S,\alpha \rang$

$\textsf{Sum}\lang S,\alpha \rang$

Neutral(NormalNeutral)

$[K]$

Trait Implementations

impl Eq for NormalExpression[src]

impl Clone for NormalExpression[src]

impl PartialEq<NormalExpression> for NormalExpression[src]

impl Debug for NormalExpression[src]

impl Display for NormalExpression[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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