pub enum AppH<A, V> {
Atom(A),
Abst(V, Option<Box<App<Self>>>, Box<App<Self>>),
Prod(Option<V>, Box<App<Self>>, Box<App<Self>>),
}Expand description
Head of an application.
Variants§
Atom(A)
atom (constants, variables)
Abst(V, Option<Box<App<Self>>>, Box<App<Self>>)
abstraction (x : A => t)
Prod(Option<V>, Box<App<Self>>, Box<App<Self>>)
dependent product (x : A -> t)
Trait Implementations§
Auto Trait Implementations§
impl<A, V> Freeze for AppH<A, V>
impl<A, V> RefUnwindSafe for AppH<A, V>where
A: RefUnwindSafe,
V: RefUnwindSafe,
impl<A, V> Send for AppH<A, V>
impl<A, V> Sync for AppH<A, V>
impl<A, V> Unpin for AppH<A, V>
impl<A, V> UnwindSafe for AppH<A, V>where
A: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more