Joel Brobecker (brobecker@adacore.com): > Rats! I'm looking at the code, and I am thinking that there is a bit > of simplification that we could look at, now that the contents of lazy > values is allocated later. For instance: > > ada_coerce_to_simple_array_ptr vs ada_coerce_to_simple_array > > If we got rid of ada_coerce_to_simple_array_ptr, then we probably > wouldn't need ada_value_slice_ptr.. > > But in the meantime, I do think that ada_value_slice_from_ptr is > clearer. Here is a new patch, taking the comments into account. I'll work on the rest of the simplification on the coming month. In the meantime, and if you're OK, I'll commit this first change.