Enum fungi_lang::eval::EvalTyErr [] [src]

pub enum EvalTyErr {
    LetNonRet(ExpTerm),
    AppNonLam(ExpTerm),
    SplitNonPair(RtVal),
    IfNonBool(RtVal),
    CaseNonInj(RtVal),
    UnrollNonRoll(RtVal),
    ThunkNonName(RtVal),
    ForceNonThunk(RtVal),
    RefThunkNonThunk(RtVal),
    RefNonName(RtVal),
    GetNonRef(RtVal),
    ScopeWithoutName0,
    ScopeWithoutName1,
    ScopeWithoutName2,
    NameFnApp0,
    NameFnApp1,
    PrimAppNameBin(RtValRtVal),
    PrimAppNatLt(RtValRtVal),
    PrimAppNatEq(RtValRtVal),
    PrimAppNatLte(RtValRtVal),
    PrimAppNatPlus(RtValRtVal),
}

Dynamic type errors ("stuck cases" for evaluation)

For each place in the eval function where a dynamic type error may arise that prevents us from progressing, we give a constructor with the relevant information (first for documentation purposes, and secondly for future error messages).

Variants

Trait Implementations

impl Clone for EvalTyErr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EvalTyErr
[src]

[src]

Formats the value using the given formatter.

impl Eq for EvalTyErr
[src]

impl PartialEq for EvalTyErr
[src]

[src]

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

[src]

This method tests for !=.