ocaml wrap stubbing