From: Nicolas C. <war...@fr...> - 2003-03-03 06:05:53
|
> If you use a particular name enough, then you could always do > > let miter = List_Mutable.iter > > in your code. So this gets your short names and gets me my long names. You could on your side do : module List_Mutable = ExtLib.MList > I'm concerned that when COAN gets going, there's going to be name collisions > and choosing very short names will lead to collisions later on. The "-pack" option is resolving most of the cases. By the way, the more you use some functions, so more they have to be short named. I personnally think that mutable lists are the kind of module with large potential usage ( the whole ExtLib is, actually ) > > > I think this would be relevant and consistent with other module > > distributions, > > > such as different XML parsing modules that would all be named with an XML* > > > prefix. > > > > I think that MList is understandable enough for the average user. > > Not claiming to be an average user :) (Most Ocaml users probably aren't) > It wasn't for me. In the week that MList was first discussed and when I > got around to looking at ExtLib, I had already forgotten what MList meant. Yes, perhaps it's not obvious, but the documentation is here for that ! for example the modules "Weak" , "Oo", "Complex" from the standard library are not so obvious names. But you only have to open the doc to get it. Nicolas Cannasse |