caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] 3.13.0 stricter on interfaces? (building extlib)
@ 2011-11-26  9:52 "Markus W. Weißmann"
  2011-11-26 10:33 ` Gabriel Scherer
  0 siblings, 1 reply; 3+ messages in thread
From: "Markus W. Weißmann" @ 2011-11-26  9:52 UTC (permalink / raw)
  To: caml-list

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/



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-28  5:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26  9:52 [Caml-list] 3.13.0 stricter on interfaces? (building extlib) "Markus W. Weißmann"
2011-11-26 10:33 ` Gabriel Scherer
2011-11-28  5:55   ` Jacques Garrigue

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).