From: Nicolas C. <war...@fr...> - 2005-05-28 07:10:52
|
> Hi, > > I'm doing an OS project, and I want to make a custom ocaml environment > where the ExtLib modules are integrated to be part of the OCaml > standard library. > > I plan on going so far as to remove pervasives.out_channel/in_channel, > among other things, and using the IO module exclusively. > > If anyone could provide some helpful suggestions on how best to go > about this, it would be greatly appreciated. > > Jonathan That's interesting idea, could you give more informations about the goal of your project ? Actually you just need to declare in IO.ml the C externals to caml channels functions and hide them in the mli so they can't be used directly. Have a look at pervasives.ml and .mli sources to see how ocaml is doing. Nicolas |