caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Defining a type and a module type recursively
@ 2010-08-28  8:30 Daniel Bünzli
  2010-08-28 19:31 ` [Caml-list] " Kaustuv Chaudhuri
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Bünzli @ 2010-08-28  8:30 UTC (permalink / raw)
  To: caml-list

Hello,

I have now side stepped the issue but I wonder. Is it possible to
define a type and a module type recursively ?

E.g., something like

type 'a t = 'a * (module T)
and module type T = sig ... (* mentions 'a t somewhere *) ... end

Thanks,

Daniel


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

end of thread, other threads:[~2010-08-28 19:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-28  8:30 Defining a type and a module type recursively Daniel Bünzli
2010-08-28 19:31 ` [Caml-list] " Kaustuv Chaudhuri

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