Enum fungi_lang::dynamics::ExpTerm [−][src]
Terminal expressions (a la CBPV), but in environment-passing style, where (closed) lambda terms have closing environments.
Variants
Lam(EnvRec, Var, Rc<Exp>)
Lambda expression, with a closing environment
HostFn(HostEvalFn, Vec<RtVal>)
Rust-level lambda function, with Fungi-level argument values
Ret(RtVal)
Produce the given run-time value
Trait Implementations
impl Display for ExpTerm
[src]
impl Display for ExpTerm
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 Clone for ExpTerm
[src]
impl Clone for ExpTerm
fn clone(&self) -> ExpTerm
[src]
fn clone(&self) -> ExpTerm
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 ExpTerm
[src]
impl Debug for ExpTerm
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 ExpTerm
[src]
impl Eq for ExpTerm
impl PartialEq for ExpTerm
[src]
impl PartialEq for ExpTerm
fn eq(&self, other: &ExpTerm) -> bool
[src]
fn eq(&self, other: &ExpTerm) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ExpTerm) -> bool
[src]
fn ne(&self, other: &ExpTerm) -> bool
This method tests for !=
.
impl Hash for ExpTerm
[src]
impl Hash for ExpTerm