Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Duplicate value specifications
@ 2017-02-23 15:11 Jeremy Yallop
  2017-02-23 16:44 ` Gabriel Scherer
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Yallop @ 2017-02-23 15:11 UTC (permalink / raw)
  To: Caml List

Are duplicate value specifications a supported feature of signatures?
Will the following program, which is currently accepted, continue to
be accepted in future versions of OCaml?

  module type S = sig
    val x : int
    val x : bool
  end

This is an artificial example, of course, but duplication can
sometimes arise naturally through signature inclusion.

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

end of thread, other threads:[~2017-02-23 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 15:11 [Caml-list] Duplicate value specifications Jeremy Yallop
2017-02-23 16:44 ` Gabriel Scherer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox