From: Keiko Nakata <keiko@kurims.kyoto-u.ac.jp>
To: caml-list@inria.fr
Subject: cyclic type abbreviations
Date: Wed, 28 Sep 2005 14:08:48 +0900 (JST) [thread overview]
Message-ID: <20050928.140848.68541025.keiko@kurims.kyoto-u.ac.jp> (raw)
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.
reply other threads:[~2005-09-28 5:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050928.140848.68541025.keiko@kurims.kyoto-u.ac.jp \
--to=keiko@kurims.kyoto-u.ac.jp \
--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