caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Leo White <lpw25@cam.ac.uk>
To: Yotam Barnoy <yotambarnoy@gmail.com>
Cc: Ocaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] Problem extending the Standard library
Date: Wed, 27 Aug 2014 15:59:58 +0100	[thread overview]
Message-ID: <y2afvgi9dw1.fsf@kingston.cl.cam.ac.uk> (raw)
In-Reply-To: <CAN6ygO=CjGzH3TuWbH9LE2=yYeVErGwDLYZ0xe4Tr0z32ao6Yg@mail.gmail.com> (Yotam Barnoy's message of "Wed, 27 Aug 2014 10:52:41 -0400")

>
> Can anyone tell me why the compiler complained about Empty being an unbound constructor when it's declared in Map.Make,
> which I include?
>

I don't think `Empty` is declared in the interface of Map.Make, it may
be declared in the implementation but it is not available in the
interface. Making it available in the interface would break abstraction:
it would force `Map.Make` to keep using that particular implementation.

Regards,

Leo

  reply	other threads:[~2014-08-27 15:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 14:52 Yotam Barnoy
2014-08-27 14:59 ` Leo White [this message]
2014-08-27 15:01   ` Yotam Barnoy
2014-08-27 15:04 ` Pierrick Couderc

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=y2afvgi9dw1.fsf@kingston.cl.cam.ac.uk \
    --to=lpw25@cam.ac.uk \
    --cc=caml-list@inria.fr \
    --cc=yotambarnoy@gmail.com \
    /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).