pub fn simple_vec_iterator<T, F>(iter: impl Iterator<Item = T>) -> *mut Twhere
    F: Fn(T) -> T,