pub fn base_seg<I, F, S, E>(f: F) -> impl FnMut(I) -> IResult<I, S, E>where I: Span, F: Parser<I, S, E> + Copy, E: ContextError<I> + ParseError<I>, S: PointSegment,