Enum fungi_lang::reduce::Stuck [−][src]
pub enum Stuck { LamNonAppCont, HostEvalFnNonAppCont, RetNonLetCont, RefNonName, ThunkNonName, SplitNonPair, CaseNonInj, IfNonBool, GetNonRef, ForceNonThunk, NatPrim, NameBin, UnrollNonRoll, UnpackNonPack, WriteScope, NameFnApp, RefThunkNonThunk, }
Dynamic type errors ("stuck cases" for reduction)
For each place in the reduce
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
LamNonAppCont
HostEvalFnNonAppCont
RetNonLetCont
RefNonName
ThunkNonName
SplitNonPair
CaseNonInj
IfNonBool
GetNonRef
ForceNonThunk
NatPrim
NameBin
UnrollNonRoll
UnpackNonPack
WriteScope
NameFnApp
RefThunkNonThunk
Trait Implementations
impl Clone for Stuck
[src]
impl Clone for Stuck
fn clone(&self) -> Stuck
[src]
fn clone(&self) -> Stuck
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Stuck
[src]
impl Debug for Stuck
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Stuck
[src]
impl Eq for Stuck
impl PartialEq for Stuck
[src]
impl PartialEq for Stuck
fn eq(&self, other: &Stuck) -> bool
[src]
fn eq(&self, other: &Stuck) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for Stuck
[src]
impl Hash for Stuck