pub fn map<L1, L2, S, F, M>(inner: F, mapper: M) -> MapFold<L1, L2, S, F, M>where F: Fold<L2, S>, M: Fn(&L1) -> L2,
Helper to create a map fold.