CovariantFunctor
This commit is contained in:
parent
431b5f01f9
commit
4d1202d399
@ -300,3 +300,9 @@ pub trait SharedFunctor: WeakFunctor {
|
||||
where
|
||||
Self: 'a;
|
||||
}
|
||||
|
||||
pub trait CovariantFunctor: WeakFunctor {
|
||||
fn variate<'a: 'b, 'b, A: 'a>(fa: Self::F<'a, A>) -> Self::F<'b, A>
|
||||
where
|
||||
Self: 'a;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user