caml4p

Conditional compiling in OCaml

Hello, suppose I have a long algorithm which I would like to be optionally verbose to debug it. So far I just added many if verbose then printf "whatever" all around the code but this forces the code to execute many useless tests if I don't want to have it in the verbose mode. Is there a way to obtain a simple conditional compilation wh...