From: malc <malc@pulsesoft.com>
To: caml-list@inria.fr
Subject: [Caml-list] Records typing
Date: Wed, 6 Nov 2002 15:57:49 +0300 (MSK) [thread overview]
Message-ID: <Pine.LNX.4.44.0211061549030.1810-100000@home.oyster.ru> (raw)
# module type T = sig type t type r = { f : t } end;;
module type T = sig type t and r = { f : t; } end
# module M : T with type t = float = struct
type t = float
type r = { f : t }
end;;
Signature mismatch:
Modules do not match:
sig type t = float and r = { f : t; } end
is not included in
sig type t = float and r = { f : t; } end
Type declarations do not match:
type r = { f : t; }
is not included in
type r = { f : t; }
Is there a way to work around this?
--
mailto:malc@pulsesoft.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2002-11-06 12:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-06 12:57 malc [this message]
2002-11-11 11:43 ` Andreas Rossberg
2002-11-13 1:11 ` Jacques Garrigue
2002-11-13 2:41 ` Jacques Garrigue
2002-11-13 14:48 ` Andreas Rossberg
2002-11-13 9:55 ` malc
2002-11-13 10:08 ` Jacques Garrigue
2002-10-24 10:55 ` Christophe Raffalli
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=Pine.LNX.4.44.0211061549030.1810-100000@home.oyster.ru \
--to=malc@pulsesoft.com \
--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;
as well as URLs for NNTP newsgroup(s).