Struct lamcal::HybridNormalOrder[][src]

pub struct HybridNormalOrder<A> { /* fields omitted */ }

Hybrid-Normal-Order β-reduction to normal form.

  • A hybrid of head-spine and normal-order reduction.
  • Reduces the leftmost outermost redex first.
  • In an application (e1 e2) the function term e1 is reduced using the head-spine strategy (HeadSpine).
  • Any redex that is contracted is the leftmost one not contained in any other redex.
  • Reductions are performed also under lambda abstractions.

This strategy is a hybrid as it uses head-spine for the reduction of the expression e1 in function position in applications (e1 e2).

Trait Implementations

impl<A: Default> Default for HybridNormalOrder<A>
[src]

Returns the "default value" for a type. Read more

impl<A: Debug> Debug for HybridNormalOrder<A>
[src]

Formats the value using the given formatter. Read more

impl<A: Clone> Clone for HybridNormalOrder<A>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Copy> Copy for HybridNormalOrder<A>
[src]

impl<A: PartialEq> PartialEq for HybridNormalOrder<A>
[src]

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

This method tests for !=.

impl<A> BetaReduce for HybridNormalOrder<A> where
    A: AlphaRename
[src]

Performs β-reduction allowing to inspect the current term before each contraction. Read more

Performs β-reduction on the given Term and returns the result. Read more

Performs one step of β-reduction on the given Term and returns the result. Read more

Auto Trait Implementations

impl<A> Send for HybridNormalOrder<A> where
    A: Send

impl<A> Sync for HybridNormalOrder<A> where
    A: Sync