pub fn take_while<'a>( cond: impl Fn(char) -> bool, ) -> impl Fn(&'a str) -> ParseResult<'a, &'a str>
Takes a substring while the condition is true.