caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Matej Košík" <mail@matej-kosik.net>
To: caml-list@inria.fr
Subject: [Caml-list] a question about compiler-libs and Ocaml toplevel
Date: Sun, 11 Mar 2018 11:49:19 +0100	[thread overview]
Message-ID: <69417de2-73cc-c14f-fef9-c8fb2a7b6c2b@matej-kosik.net> (raw)

Hi,

When I load compiler-libs

  #require "compiler-libs.common";;

then I can use various modules contained therein, but not "Location".
(which is referenced from "Parsetree")

Something like:

  open Location;;

or

  Location.none;;

fails with:

  Error: Unbound module Location

It seems that I am missng something very basic.

Why can't "Location" be used when "compiler-libs.common" package was loaded?
(While other modules (which use "Location") can be used in the toplevel just fine.)

             reply	other threads:[~2018-03-11 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-11 10:49 Matej Košík [this message]
2018-03-12  9:24 ` Matej Košík
2018-03-12 10:15   ` Leo White
2018-03-12 10:46     ` Matej Košík

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69417de2-73cc-c14f-fef9-c8fb2a7b6c2b@matej-kosik.net \
    --to=mail@matej-kosik.net \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).