From: Ville-Pertti Keinonen <will@exomi.com>
To: Alessandro Baretta <alex@baretta.com>
Cc: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Typing problem with polymorphic variants
Date: Tue, 1 Apr 2003 21:38:48 +0300 [thread overview]
Message-ID: <2D6F217A-6471-11D7-848D-000393863F70@exomi.com> (raw)
In-Reply-To: <3E89CDA0.7090200@baretta.com>
On Tuesday, Apr 1, 2003, at 20:34 Europe/Helsinki, Alessandro Baretta
wrote:
> This just baffles me.
>
> > Values do not match:
> > val feature :
> > [> `Clear | `Length of int | `Pitch of int
> > | `Width of 'a] -> string
> > is not included in
> > val feature : [> `Clear] -> string
Consider what would happen if you tried to pass a `Length of float,
which is acceptable according to the latter signature.
-------------------
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
next prev parent reply other threads:[~2003-04-01 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-01 17:34 Alessandro Baretta
2003-04-01 18:38 ` Ville-Pertti Keinonen [this message]
2003-04-01 17:56 ` Alessandro Baretta
2003-04-01 18:44 ` David Brown
2003-04-02 1:34 ` Jacques Garrigue
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=2D6F217A-6471-11D7-848D-000393863F70@exomi.com \
--to=will@exomi.com \
--cc=alex@baretta.com \
--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