Enum fungi_lang::eval::RtVal [] [src]

pub enum RtVal {
    Unit,
    Pair(RtValRecRtValRec),
    Inj1(RtValRec),
    Inj2(RtValRec),
    Roll(RtValRec),
    NameFn(NameTm),
    Nat(usize),
    Str(String),
    Bool(bool),
    ThunkAnon(EnvExp),
    Name(Name),
    Ref(Art<RtVal>),
    Thunk(Art<ExpTerm>),
}

Run-time values. Same as ast_tgt::Val, except that (1) there are no variables ("closed") and (2) unlike values written by user in their program, run-time values may contain run-time structures, such as actual thunks and references, a la Arts from Adapton library.

Variants

Trait Implementations

impl Clone for RtVal
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RtVal
[src]

[src]

Formats the value using the given formatter.

impl Eq for RtVal
[src]

impl PartialEq for RtVal
[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 RtVal
[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