[][src]Struct minitt::check::tcm::TCS

pub struct TCS<'a> {
    pub gamma: Gamma<'a>,
    pub context: Telescope,
}

Type-Checking State , not "Theoretical Computer Science".
This is not present in Mini-TT.

Fields

gamma: Gamma<'a>context: Telescope

Methods

impl<'a> TCS<'a>[src]

pub fn new(gamma: Gamma<'a>, context: Telescope) -> Self[src]

pub fn context(&self) -> Telescope[src]

Since context is ref-counted, it's gonna be cheap to clone.

pub fn update(
    self,
    pattern: Pattern,
    type_val: Value,
    body: Value
) -> TCM<TCS<'a>>
[src]

Trait Implementations

impl<'a> Default for TCS<'a>[src]

impl<'a> Debug for TCS<'a>[src]

Auto Trait Implementations

impl<'a> !Send for TCS<'a>

impl<'a> !Sync for TCS<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.