pub fn parse_predicate(range: &str) -> Result<Predicate, String>