From: Brian H. <bri...@ql...> - 2003-05-12 15:36:34
|
On Sun, 11 May 2003, Nicolas Cannasse wrote: > Xarray modifications : > - added exception policy ( Invalid_arg of int * string * string ) > - added : > val empty : 'a t -> bool > - removed useless parenthesis in "if" All the above are cool. > - removed ?resizer in functions, and added : > val set_resizer : 'a t -> resizer_t -> unit > this makes the source code and the signatures more readable. I liked the ability to specify resizer functions at creation time. Different xarrays, used for different purposes, might need different reallocation routines. If the signatures aren't the most legible, a doc comment should clear up the confusion. Brian |