OCaml user wiki


This wiki is an informal space for discussions and open collaborations related to the use of the OCaml programming language. It is suitable for small or young projects that don't have a dedicated website or mailing-list.


Anyone can edit this wiki, the password is the name of the bytecode compiler.


Suggestion: keep the formatting simple. It makes the transfer to another site easier.


See also:





Using this wiki:






Special hacks


This wiki has been the target of vandalism. The spammers added a few hundreds of files that were following a simple pattern. Since pbwiki doesn't provide a way of selecting and removing all the files at once, we have to do it ourselves, while being logged in. Here is some javascript that can do the job (it won't work in IE for sure, and worked in opera; may work in firefox, but I haven't tried):


  1. First, you must adapt the code below to go through the list of files that you really want to delete.
  2. Then, type "javascript:" in the URL box of your browser (without the quotes), and paste the javascript code below after having made the changes.

 var wikiname = 'ocaml';
 var xmlhttp = new XMLHttpRequest();
 function http_get (url) {"GET", url, true);
 for (var i = 0; i <= 600; i++) { 
   var file = 'index' + i + '.html';
   var url = 
     'http://' + wikiname + '' + file +