fn convert_rangl(rangl: RangeList) -> (Vec<Literal>, Vec<(Literal, Literal)>) {
    let mut litints = Vec::new();
    let mut litrange = Vec::new();

    for x in rangl.0 {
        match &x {
            RangeListItem::Value(x) => litints.push(convert_literal(x.0)),
            RangeListItem::Range(x) => litrange.push(convert_range(x.lower_val.0, x.upper_val.0)),
        }
    }

    (litints, litrange)
}
/// Convert a range list into a tuple of lists: one for lists of values and one for lists of ranges
Convert a range list into a tuple of lists: one for lists of values and one for lists of ranges
Convert a range list into a tuple of lists : one for lists of values and one for lists of ranges
fn convert_rangl(rangl: RangeList) -> (Vec<Literal>, Vec<(Literal, Literal)>) {
    let mut litints = Vec::new();
    let mut litrange = Vec::new();
    for x in rangl.0 {
        match &x {
            RangeListItem::Value(x) => litints.push(convert_literal(x.0)),
            RangeListItem::Range(x) => litrange.push(convert_range(x.lower_val.0, x.upper_val.0)),
        }
    }
    (litints, litrange)
}
fn convert_rangl ( rangl : RangeList ) -> ( Vec < Literal > , Vec < ( Literal , Literal ) > ) { let mut litints = Vec :: new ( ) ; let mut litrange = Vec :: new ( ) ; for x in rangl . 0 { match & x { RangeListItem :: Value ( x ) => litints . push ( convert_literal ( x . 0 ) ) , RangeListItem :: Range ( x ) => litrange . push ( convert_range ( x . lower_val . 0 , x . upper_val . 0 ) ) , } } ( litints , litrange ) }
Convert a range list into a tuple of lists: one for lists of values and one for lists of ranges
Convert a range list into a tuple of lists : one for lists of values and one for lists of ranges
rangl
RangeList
rangl
RangeList