pub fn spanned<'a, T>( parser: impl Parser<&'a str, T, VerboseError<&'a str>>, ) -> impl FnMut(&'a str) -> IResult<&'a str, (T, &'a str), VerboseError<&'a str>>