From: Nicolas C. <war...@fr...> - 2005-05-25 00:35:13
|
> > > Currently enum conversion functions are only provided for the data > > > structures included in ExtLib itself. Might it be a good idea to add > > > them for some or all of the remaining parts of the OCaml standard library? > > > > There is enum for Lists, DynArrays, Strings and Hashtbls. > > The only reason there is not for Array is because ExtLib doesn't have an > > ExtArray module. > > IMHO, it's not needed since it's most of the time more convenient to use > > DynArrays instead of Arrays. > > The issue is interfacing to existing code and existing > interfaces which may specify a standard ocaml array, > so I'd agree with Peter I think. It's ok for me to add of_array and to_array to Enum module. Nicolas |