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),
    WriteScopeWithoutName0,
    WriteScopeWithoutName1,
    WriteScopeWithoutName2,
    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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EvalTyErr
[src]

Formats the value using the given formatter. Read more

impl Eq for EvalTyErr
[src]

impl PartialEq for EvalTyErr
[src]

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

This method tests for !=.

Auto Trait Implementations

impl !Send for EvalTyErr

impl !Sync for EvalTyErr