OCaml: improve let snippet and other snippets