Hello, >> vlist is a data type introduced around guile 2.0. You will find it >> documented in the Guile Reference under Compound Data Types. >> >> They are growable and provide vector-like access performances and >> memory locality. > > Ah, too bad. This needs to run under 1.8 as well.
If you need to support older versions of Guile, then you can't use any data structures we add now anyway, correct? So it seems like you will have to implement growable vectors yourself no matter what. If you want to, though, you could look at the implementation of vlists in Guile 2.0, which I think is all in Scheme. See module/ice-9/vlist.scm. Even if we can't fix it, it is still nice to hear about data structures you wish Guile had, so that in a few more versions this might not be a problem for you. Noah