From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 0735E7F75C for ; Wed, 27 Aug 2014 17:00:00 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=pra; client-ip=131.111.8.150; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of lpw25@cam.ac.uk) identity=mailfrom; client-ip=131.111.8.150; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="lpw25@cam.ac.uk"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@ppsw-50.csi.cam.ac.uk) identity=helo; client-ip=131.111.8.150; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="lpw25@cam.ac.uk"; x-sender="postmaster@ppsw-50.csi.cam.ac.uk"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap0FAAXy/VODbwiWf2dsb2JhbABbszMCBqRvAYEQFhABAQkNCggUKYQEAQQBOj8QCyElDwEESYhNCLouhGcXhXyJUAeETAW1ToM6AQEB X-IPAS-Result: Ap0FAAXy/VODbwiWf2dsb2JhbABbszMCBqRvAYEQFhABAQkNCggUKYQEAQQBOj8QCyElDwEESYhNCLouhGcXhXyJUAeETAW1ToM6AQEB X-IronPort-AV: E=Sophos;i="5.04,411,1406584800"; d="scan'208";a="91711556" Received: from ppsw-50.csi.cam.ac.uk ([131.111.8.150]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Aug 2014 16:59:59 +0200 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from kingston.cl.cam.ac.uk ([128.232.64.15]:33783) by ppsw-50.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:587) with esmtpsa (PLAIN:lpw25) (TLSv1.2:DHE-RSA-AES128-SHA:128) id 1XMehb-0007dW-ps (Exim 4.82_3-c0e5623) (return-path ); Wed, 27 Aug 2014 15:59:59 +0100 From: Leo White To: Yotam Barnoy Cc: Ocaml Mailing List References: X-Face: "XWxb[u_Z\PA_Y?9@|IA!!+jTb(/290-*ea/Un$I0B98.$n%eL.;2w*,z]WR#T:,p[ NBd++M7l]#7zj7!{~iw $W-"/=|dVjhT[D{4~gE}gK<2`.6fs!;uqqud]vs2N/3^m7{aS1V, Date: Wed, 27 Aug 2014 15:59:58 +0100 In-Reply-To: (Yotam Barnoy's message of "Wed, 27 Aug 2014 10:52:41 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Caml-list] Problem extending the Standard library > > 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