Trait scsys_core::hkt::applicative::Applicative
source · 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
Object Safety§
This trait is not object safe.