better example in the ocamldoc

should compile and is a little more explicit, I hope