Sample code for implementing an Oracle EXTPROC in OCaml. See http://gaiustech.wordpress.com/2011/07/12/extprocs-in-ocaml/