caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Records typing
@ 2002-11-06 12:57 malc
  2002-11-11 11:43 ` Andreas Rossberg
  0 siblings, 1 reply; 8+ messages in thread
From: malc @ 2002-11-06 12:57 UTC (permalink / raw)
  To: caml-list


# 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


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

end of thread, other threads:[~2002-11-13 14:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 12:57 [Caml-list] Records typing malc
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

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