Enum fungi_lang::dynamics::ExpTerm[][src]

pub enum ExpTerm {
    Lam(EnvRecVarRc<Exp>),
    HostFn(HostEvalFnVec<RtVal>),
    Ret(RtVal),
}

Terminal expressions (a la CBPV), but in environment-passing style, where (closed) lambda terms have closing environments.

Variants

Lambda expression, with a closing environment

Rust-level lambda function, with Fungi-level argument values

Produce the given run-time value

Trait Implementations

impl Display for ExpTerm
[src]

Formats the value using the given formatter. Read more

impl Clone for ExpTerm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExpTerm
[src]

Formats the value using the given formatter. Read more

impl Eq for ExpTerm
[src]

impl PartialEq for ExpTerm
[src]

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

This method tests for !=.

impl Hash for ExpTerm
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for ExpTerm

impl !Sync for ExpTerm