Enum fungi_lang::eval::RtVal
[−]
[src]
pub enum RtVal { Unit, Pair(RtValRec, RtValRec), Inj1(RtValRec), Inj2(RtValRec), Roll(RtValRec), NameFn(NameTm), Nat(usize), Str(String), Bool(bool), ThunkAnon(Env, Exp), 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 Art
s from Adapton
library.
Variants
Unit
Pair(RtValRec, RtValRec)
Inj1(RtValRec)
Inj2(RtValRec)
Roll(RtValRec)
NameFn(NameTm)
Nat(usize)
Str(String)
Bool(bool)
ThunkAnon(Env, Exp)
Name(Name)
Ref(Art<RtVal>)
Thunk(Art<ExpTerm>)
Trait Implementations
impl Clone for RtVal
[src]
fn clone(&self) -> RtVal
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RtVal
[src]
impl Eq for RtVal
[src]
impl PartialEq for RtVal
[src]
fn eq(&self, __arg_0: &RtVal) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RtVal) -> bool
[src]
This method tests for !=
.