We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d854e9d commit 0546a8aCopy full SHA for 0546a8a
deep_causality_haft/src/applicative.rs
@@ -36,12 +36,7 @@ pub trait Applicative<F: HKT>: Functor<F> {
36
///
37
/// # Examples
38
39
- /// ```
40
- /// use deep_causality_haft::{Applicative, OptionWitness, HKT};
41
42
- /// let opt_val: Option<<OptionWitness as HKT>::Type<i32>> = Some(OptionWitness::pure(10));
43
- /// assert_eq!(opt_val, Some(Some(10)));
44
45
fn pure<T>(value: T) -> F::Type<T>;
46
47
/// Applies a function wrapped in a context (`f_ab`) to a value wrapped in a context (`f_a`).
0 commit comments