Enum fungi_lang::bitype::Ctx [] [src]

pub enum Ctx {
    Empty,
    Def(CtxRecVarTerm),
    Var(CtxRecVarType),
    IVar(CtxRecVarSort),
    TVar(CtxRecVarKind),
    Equiv(CtxRecIdxTmIdxTmSort),
    Apart(CtxRecIdxTmIdxTmSort),
    PropTrue(CtxRecProp),
}

Typing context

Variants

Define a type term to be carried in the type context

Define a value variable's type

Define a name/index variable's sort

Define a type variable's kind

Assume an index term equivalence, at a common sort

Assume an index term apartness, at a common sort

Assume a proposition is true

Methods

impl Ctx
[src]

[src]

define a term

[src]

bind a var and type

[src]

bind a index var and sort

[src]

bind a type var and kind

[src]

assume an index equivalence

[src]

assume an index apartness

[src]

assume a proposition is true

[src]

[src]

impl Ctx
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Ctx
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Ctx
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Ctx
[src]

impl PartialEq for Ctx
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hash for Ctx
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Ctx

impl !Sync for Ctx