Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "\"Markus W. Weißmann\"" <markus.weissmann@in.tum.de>
To: caml-list@inria.fr
Subject: [Caml-list] 3.13.0 stricter on interfaces? (building extlib)
Date: Sat, 26 Nov 2011 10:52:23 +0100	[thread overview]
Message-ID: <C1DBEF7C-B845-4F03-9023-CE77065918EC@in.tum.de> (raw)

Hi everyone,

I just tried to build extlib with the most recent checkout of ocaml (rev 11286):
The build fails on the extHashtbl.ml module:

---
Error: The implementation extHashtbl.ml
       does not match the interface extHashtbl.cmi:
       ...
       In module Hashtbl:
       Values do not match:
         val create : ?seed:int -> int -> ('a, 'b) t
       is not included in
         val create : int -> ('a, 'b) t
---

As far as I understand the problem, extlib's Hashtbl claims to implement the Hashtbl-interface from the standard library.
Previous OCaml versions were ok with extlib's "create" function having an additional optional parameter, but 3.13. seems to think different.
Is this on purpose or a bug?


Regards

-Markus

-- 
Markus Weißmann, M.Sc.
Technische Universität München
Institut für Informatik
Boltzmannstr. 3
D-85748 Garching
Germany
http://wwwknoll.in.tum.de/



             reply	other threads:[~2011-11-26  9:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26  9:52 "Markus W. Weißmann" [this message]
2011-11-26 10:33 ` Gabriel Scherer
2011-11-28  5:55   ` Jacques Garrigue

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=C1DBEF7C-B845-4F03-9023-CE77065918EC@in.tum.de \
    --to=markus.weissmann@in.tum.de \
    --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