From: Nicolas C. <war...@fr...> - 2003-04-18 07:20:16
|
Hi list ! I think it would be better to reduce the size of the code and not to duplicate Ocaml Stdlib source code to simply use the "include" keyword. So for example our extHashtbl.ml file would looks like : module Hashtbl = struct include Hashtbl (* the OCaml std lib one *) (** add new functions **) end This way we can even override the OCaml StdLib functions by redefining them after the include statement. I think it would be nice to reduce this way the extList.ml code to only modified/new functions, that would make things a lot clearer and results a lower code size. What do you think of it ? Nicolas Cannasse |