caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* cyclic type abbreviations
@ 2005-09-28  5:08 Keiko Nakata
  0 siblings, 0 replies; only message in thread
From: Keiko Nakata @ 2005-09-28  5:08 UTC (permalink / raw)
  To: caml-list

Hello.

I wonder how does the type system (without -rectypes)
check cyclic type abbreviations.
The type system with -rectypes can tell between

 type 'a t = A of 'a
 type s = s t

and

 type 'a t = 'a
 type s = s t

It admit the former, but the latter.

But, the type system without -rectypes cannot tell them.
Why?
I thought that the former would be legal without -rectypes.


Regards,
Keiko NAKATA.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-28  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28  5:08 cyclic type abbreviations Keiko Nakata

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