pub enum Exp<T> {
Show 14 variants
Empty(T),
Id(String, T),
Let(String, Box<Exp<T>>, Box<Exp<T>>, T),
TryWith(Box<Exp<T>>, Box<Exp<T>>, T),
Union(Box<Exp<T>>, Box<Exp<T>>, T),
Inter(Box<Exp<T>>, Box<Exp<T>>, T),
Diff(Box<Exp<T>>, Box<Exp<T>>, T),
Seq(Box<Exp<T>>, Box<Exp<T>>),
Cartesian(Box<Exp<T>>, Box<Exp<T>>),
Compl(Box<Exp<T>>, T),
Identity(Box<Exp<T>>),
IdentityUnion(Box<Exp<T>>),
Inverse(Box<Exp<T>>),
App(String, Box<Exp<T>>, T),
}Variants§
Empty(T)
Id(String, T)
Let(String, Box<Exp<T>>, Box<Exp<T>>, T)
TryWith(Box<Exp<T>>, Box<Exp<T>>, T)
Union(Box<Exp<T>>, Box<Exp<T>>, T)
Set or relation union R | S
Inter(Box<Exp<T>>, Box<Exp<T>>, T)
Set or relation intersection R & S
Diff(Box<Exp<T>>, Box<Exp<T>>, T)
Set or relation difference R \ S
Seq(Box<Exp<T>>, Box<Exp<T>>)
Relation composition R; S
Cartesian(Box<Exp<T>>, Box<Exp<T>>)
Cartesian product of sets R * S
Compl(Box<Exp<T>>, T)
Set or relation complement ~R
Identity(Box<Exp<T>>)
[R] Lift a set to the identity relation over its elements
IdentityUnion(Box<Exp<T>>)
R? intersect a relation R with the identity relation
Inverse(Box<Exp<T>>)
Inverse of a relation R^-1
App(String, Box<Exp<T>>, T)
Function application f(x)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Exp<T>where
T: Freeze,
impl<T> RefUnwindSafe for Exp<T>where
T: RefUnwindSafe,
impl<T> Send for Exp<T>where
T: Send,
impl<T> Sync for Exp<T>where
T: Sync,
impl<T> Unpin for Exp<T>where
T: Unpin,
impl<T> UnwindSafe for Exp<T>where
T: 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