Struct programinduction::lambda::LiftedFunction[][src]

pub struct LiftedFunction<V: Clone + PartialEq + Send + Sync, E: Evaluator<Space = V>>(_, _, _);

A function object for evaluation in domains with first-class functions.

The eval method evaluates the function. See Evaluator for more on its usage.

Methods

impl<V, E> LiftedFunction<V, E> where
    E: Evaluator<Space = V>,
    V: Clone + PartialEq + Send + Sync
[src]

Evaluate the lifted function on some values. You should determine how many values can be passed in based on the types of the Language specification.

Trait Implementations

impl<V, E> Clone for LiftedFunction<V, E> where
    E: Evaluator<Space = V>,
    V: Clone + PartialEq + Send + Sync
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V, E> PartialEq for LiftedFunction<V, E> where
    E: Evaluator<Space = V>,
    V: Clone + PartialEq + Send + Sync
[src]

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

This method tests for !=.

impl<V, E> Eq for LiftedFunction<V, E> where
    E: Evaluator<Space = V>,
    V: Clone + PartialEq + Send + Sync
[src]

Auto Trait Implementations

impl<V, E> Send for LiftedFunction<V, E> where
    E: Send

impl<V, E> Sync for LiftedFunction<V, E> where
    E: Send