Note, that this will work only in utop, to make it work in vanilla OCaml toplevel (aka ocaml) or in emacs built-in toplevel, you also need to add before everything else
#use "topfind";;
And make sure that ocamlfind is installed, e.g., by issuing the following command in your terminal (if you’re using opam)
Truth be told I would be wary of adding open Base to .ocamlinit. This is likely to get you confused in case you decide to copypaste some code from the Internet in the future since it won’t work for mysterious reasons (mostly due to Base redefining = and a whole lot of modules).