Skip to main content

reader_fmap

Function reader_fmap 

Source
pub fn reader_fmap<E: Clone + 'static, A: 'static, B: 'static>(
    reader: Reader<E, A>,
    f: impl Fn(A) -> B + 'static,
) -> Reader<E, B>
Expand description

Lift a function into the Reader functor.