janestreet / base

Standard library for OCaml
MIT License
848 stars 124 forks source link

Installed base through opam but module is unbound #122

Closed lyiriyah closed 2 years ago

lyiriyah commented 2 years ago

I'm not really sure what's going on. I installed base with opam install base and there were no errors. But whenever I try to open it from utop or the inbuilt interpreter with load Base;; it fails with Error: Unbound module Base.

I'm on Arch Linux with OCaml version 4.12.0 and base version 0.14.1. Thanks for any help you can give me.

lyiriyah commented 2 years ago

I fixed the issue by using ocamlfind:

#use "topfind";;
#require "base";;