shortcuts for frequently used ocaml functions and patterns