From: Eijiro Sumii <sumii@saul.cis.upenn.edu>
To: bpr@best.com
Cc: caml-list@inria.fr, sumii@saul.cis.upenn.edu
Subject: Re: polymorphic equality and overloading
Date: Fri, 30 Jun 2000 13:51:05 -0400 [thread overview]
Message-ID: <20000630135105Q.sumii@saul.cis.upenn.edu> (raw)
In-Reply-To: <Pine.BSF.4.21.0006300933350.7049-100000@shell5.ba.best.com>
> Equality really is overloaded, but since overloading isn't easily
> integrated into ML style type systems, some other solution is chosen.
So, I'm wondering why equality is overloaded in Caml, unlike addition
(+ for integers, +. for floats, ^ for strings, etc.) for example. Or,
why is equality automatically defined for tuples and datatypes, while
addition isn't? Is that just because it is often useful?
Eijiro
next prev parent reply other threads:[~2000-07-01 8:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-29 21:10 Eijiro Sumii
2000-06-30 17:08 ` Brian Rogoff
2000-06-30 17:51 ` Eijiro Sumii [this message]
2000-07-04 7:09 ` Jacques Garrigue
2000-07-04 12:42 ` Eijiro Sumii
2000-07-05 1:11 ` Jacques Garrigue
2000-07-05 2:37 ` Eijiro Sumii
2000-07-05 21:22 ` Pierre Weis
2000-07-05 21:30 ` Eijiro Sumii
2000-07-05 22:15 ` Pierre Weis
2000-07-05 23:09 ` Eijiro Sumii
2000-07-06 17:18 ` Benjamin Werner
2000-07-05 22:40 John R Harrison
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=20000630135105Q.sumii@saul.cis.upenn.edu \
--to=sumii@saul.cis.upenn.edu \
--cc=bpr@best.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