pub trait Pointed: Kind0L1T {
// Required method
fn pure<ClonableFnBrand: ClonableFn, A: Clone>(a: A) -> Apply0L1T<Self, A>;
}👎Deprecated since 0.0.21: Use fp_library::v2::classes instead
Expand description
A type class for types that can lift values into a context.
Pointed provides the ability to lift a value into a context without
adding any additional structure or effects.
Required Methods§
Sourcefn pure<ClonableFnBrand: ClonableFn, A: Clone>(a: A) -> Apply0L1T<Self, A>
👎Deprecated since 0.0.21: Use fp_library::v2::classes instead
fn pure<ClonableFnBrand: ClonableFn, A: Clone>(a: A) -> Apply0L1T<Self, A>
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.