1 2 3 4 5 6
use super::Applicative; pub trait Alternative<'a, A>: Applicative<'a, A> { fn empty() -> Self; fn otherwise(self, other: Self) -> Self; }