X-Git-Url: http://git.annexia.org/?p=xavierbot.git;a=blobdiff_plain;f=init;fp=init;h=6025b0cd50f2e4a1052511c72cb1d2654a0889fb;hp=c8b1cbcfc28691d1f14773cb7d3397c74cfa25ce;hb=999637103a46eed68aa5051dd23f0ce0a3daf92e;hpb=efe1729b433b8898eda03cc794be55507a30eef5 diff --git a/init b/init index c8b1cbc..6025b0c 100644 --- a/init +++ b/init @@ -1,5 +1,5 @@ (* Initialise the toplevel environment. - * $Id: init,v 1.2 2007/06/28 20:49:10 rjones Exp $ + * $Id: init,v 1.3 2007/06/28 23:18:28 rjones Exp $ * - Removes the Pervasives module and any dangerous functions. * - Loads just the modules we want to give access to, and just * the functions within those modules that we want to give. @@ -122,6 +122,10 @@ module String : sig val compare: t -> t -> int end = struct include String end +(* Create an object, so we get the CamlinternalOO module. *) +(* XXX Are any of the methods unsafe? *) +let _ = object end + (* Load our custom grammar, which disables "external". *) #load "camlp4o.cma";;