fn from_val_to_slice_idx( value: Option<Value>, expected_len: usize, ) -> Result<Vec<Range<usize>>, EvalError>
Convert a value to a list of slice index