On Wed, 2005-07-27 at 16:29 +0100, Jon Harrop wrote: > On Wednesday 27 July 2005 16:05, skaller wrote: > > Given that there is a simple requirement for a simple > > efficient data structure (analogous to C++ STL Vector) > > but it needs magic to do properly, the varray is best > > supplied by INRIA magicians. > > At what cost? I am not the one to judge that. There is a 'working' implementation in Extlib, I imagine Xavier could knock one up in a day .. ah no, given the kinds of things the Ocaml teams do at the Functional Programming Contest in a week .. nah, he could knock one up in one hour. There are also costs in maintaining it, and I'm sure INRIA teams has other things to do too. It seems to me to be a small cost. But only INRIA can make that judgement (and they have .. they're not supporting it) All I can say is that if Xavier keeps condemning people for sticking dirty syringes in their arms, he should allow he's partly responsible for not providing a clean one.. if people are going to use imperative programming style they're going to want a suitable set of basic data structures to use to build others. You can argue the imperative style isn't the best, but it is provided and supported in Ocaml, Ocaml even has Objects, so clearly it is expected people WILL do imperative programming. -- John Skaller