pub fn lmap<TCon, TIn, TOut, F, X>(
f: F,
x: X,
) -> <TCon as WithTypeArg<TOut>>::Typewhere
TCon: LinearFunctor + WithTypeArg<TIn> + WithTypeArg<TOut> + ?Sized,
F: Fn(TIn) -> TOut,
X: TypeApp<TCon, TIn>,
pub fn lmap<TCon, TIn, TOut, F, X>(
f: F,
x: X,
) -> <TCon as WithTypeArg<TOut>>::Typewhere
TCon: LinearFunctor + WithTypeArg<TIn> + WithTypeArg<TOut> + ?Sized,
F: Fn(TIn) -> TOut,
X: TypeApp<TCon, TIn>,