From: Alain Frisch <frisch@clipper.ens.fr>
To: Caml list <caml-list@inria.fr>
Subject: Implicit constraints in type declaration
Date: Sun, 21 Jan 2001 17:59:06 +0100 (MET) [thread overview]
Message-ID: <Pine.GSO.4.04.10101211732070.1305-100000@clipper.ens.fr> (raw)
Hello,
I don't understand why the following type declaration implies a
constraint:
# type 'a t = int and b = int t;;
type 'a t = int constraint 'a = int
type b = int t
Also, I don't understand this error message (I can imagine why
the declaration is illegal):
# type 'a t = u and u = int;;
^^^^^^^
A type variable is unbound in this type declaration
--
Alain Frisch
next reply other threads:[~2001-01-21 21:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-21 16:59 Alain Frisch [this message]
2001-01-21 21:31 ` Pierre Weis
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.GSO.4.04.10101211732070.1305-100000@clipper.ens.fr \
--to=frisch@clipper.ens.fr \
--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