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: Re: [Caml-list] a question about compiler-libs and Ocaml toplevel
Date: Mon, 12 Mar 2018 10:24:18 +0100	[thread overview]
Message-ID: <2087299b-ff3e-8d0e-6b12-2f29baca6b26@matej-kosik.net> (raw)
In-Reply-To: <69417de2-73cc-c14f-fef9-c8fb2a7b6c2b@matej-kosik.net>

Sorry, the correct way to reproduce the problem is this:

  In an OCaml toplevel

    (* following the advice in the documentation
     * http://caml.inria.fr/pub/docs/manual-ocaml/parsing.html *)

    # #load "compiler-libs/ocamlcommon.cma";;

    (* Now, if I try to actually use some of the modules that are supposed
     * to be provided by this library always leads to a failure. For example: *)

    # open Parsetree;;
    Error: Unbound module Parsetree

I'd like to ask if this is a bug or I just don't understand something.

(Btw. loading compiler-libs via ocamlfind mechanisms works fine. No surprises there.)

  reply	other threads:[~2018-03-12  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-11 10:49 Matej Košík
2018-03-12  9:24 ` Matej Košík [this message]
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=2087299b-ff3e-8d0e-6b12-2f29baca6b26@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).