From: Olivier A. <ol...@us...> - 2002-07-19 15:55:36
|
Hi, I noticed that in Sdlmixer a lot of functions have `float option' or `int option' arguments. I guess the module was written before optional arguments appeared in Objective Caml. We could advantageously use optional arguments now. And it's very easy to do since there's nothing to change in the C stubs. There was some talk about also adding labels to non-optional arguments, right ? Maybe we should somehow agree on what and how to label. There are some guidelines in the manual (section 4.1.3 in the manual, "Suggestions for labeling"), what do you think about them ? But that means some changes in the API : maybe there should be a release before all this happens ? -- Olivier |
From: Luc M. <Luc...@cv...> - 2002-07-22 12:08:07
|
Olivier Andrieu <ol...@us...> a écrit le vendredi 19 juillet 2002 : > Hi, > > I noticed that in Sdlmixer a lot of functions have `float option' or > `int option' arguments. I guess the module was written before optional > arguments appeared in Objective Caml. We could advantageously use > optional arguments now. And it's very easy to do since there's nothing > to change in the C stubs. > > There was some talk about also adding labels to non-optional > arguments, right ? Maybe we should somehow agree on what and how to > label. There are some guidelines in the manual (section 4.1.3 in the > manual, "Suggestions for labeling"), what do you think about them ? why not. > But that means some changes in the API : maybe there should be a > release before all this happens ? If we must change API, maybe could we choose to change it as soon as possible. The new release could increase the number of developper, i think (i hope :) ). so what could we plan ? -- Luc...@cv... |