Struct lamcal::ApplicativeOrder[][src]

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

Applicative-Order β-reduction to normal form.

  • Reduces the leftmost innermost redex first.
  • It treats free variables as strict data constructors.
  • An argument e2 of an application (e1 e2) is reduced before contracting the redex and before building an application term.
  • Reductions are performed also under lambda abstractions.

This strategy is uniform as its definition involves no other reduction strategy.

Trait Implementations

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

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

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl<A: PartialEq> PartialEq for ApplicativeOrder<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 ApplicativeOrder<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 ApplicativeOrder<A> where
    A: Send

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