From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml-list@inria.fr
Subject: [Caml-list] Difference between [ `A ] and [< `A ]
Date: Tue, 10 May 2011 09:46:42 -0700 (PDT) [thread overview]
Message-ID: <719085.83949.qm@web111512.mail.gq1.yahoo.com> (raw)
Hi,
I've seen OCaml code "in the wild" where both of the following signatures
are present: (the type parameter for 't' is a phantom type)
val foo: [< `A ] t -> unit
val bar: [ `A ] t -> unit
But is there any practical difference between [ `A ] and [< `A ] given
that there is only one element in the set?
Thanks in advance!
Kind regards,
Dario Teixeira
next reply other threads:[~2011-05-10 16:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-10 16:46 Dario Teixeira [this message]
2011-05-10 23:44 ` Jacques Garrigue
2011-05-11 15:47 ` Christophe Raffalli
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=719085.83949.qm@web111512.mail.gq1.yahoo.com \
--to=darioteixeira@yahoo.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