Following the instructions here for Ubuntu: https://github.com/realworldocaml/book/wiki/Installation-Instructions I've downloaded OCaml and utop which work. However, the Core module cannot be opened. I've downloaded core, async etc as per the instructions.
My edited .ocamlinit file looks like this:
(* Added by OPAM. *)
let () =
try Topdirs.dir_directory (Sys.getenv "OCAML_TOPLEVEL_PATH")
with Not_found -> ()
;;
#use "topfind";;
#thread;;
#camlp4o;;
#require "core.top";;
#require "core.syntax";;
When I open utop I get the message that:
No such package: core.top
No such package: core.syntax
If I try to open core by entering "open Core.Std;;" utop returns: "Error: Unbound module Core". I'm assuming that the installation instruction are out of date but I haven't been able to find any alternate instructions that fix the issue. Is there something wrong with my .ocamlinit file?