pub trait Applicative<U>: Functor<U> {
// Required methods
fn pure_(value: U) -> Self::T
where Self: HKT<U, C = U>;
fn seq<F>(&self, fs: <Self as HKT<F>>::T) -> <Self as HKT<U>>::T
where F: Fn(&<Self as HKT<U>>::C) -> U,
Self: HKT<F>;
}
Required Methods§
fn pure_(value: U) -> Self::Twhere
Self: HKT<U, C = U>,
fn seq<F>(&self, fs: <Self as HKT<F>>::T) -> <Self as HKT<U>>::T
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.