From: Nicolas C. <war...@fr...> - 2003-03-03 05:44:50
|
> I don't know how other people feel, but to me, the short names in > String (ftos, stoi, stof) look very ugly. I agree :) > String.to_float, String.to_int, and String.to_float seem much better, > and more consistent with the choices in the standard library. Perhaps, but don't forget to add the Ext in front. It's important because will users really write : ExtString.to_float or prefer to open ExtString ( and in this case usage of to_float without namespace is meaningless ) and perhaps then for full qualified names we could just name the modules EString, EHashtbl or maybe XString, XHashtbl, etc... for fully qualified easy path access. > An Int module with things like Int.of_string = int_of_string also > sounds like a good idea, I'm tired of moving between Int32.t's and > int's and having to change all sorts of functions. Agree If you're willing to write it fully ( MLI spec + doc + impl ).... Nicolas Cannasse |