From: Benjamin Werner <Benjamin.Werner@inria.fr>
To: sumii@saul.cis.upenn.edu (Eijiro Sumii)
Cc: Pierre.Weis@inria.fr, sumii@saul.cis.upenn.edu, caml-list@inria.fr
Subject: Re: polymorphic equality and overloading
Date: Thu, 6 Jul 2000 19:18:03 +0200 (MET DST) [thread overview]
Message-ID: <200007061718.TAA02785@pauillac.inria.fr> (raw)
In-Reply-To: <20000705173047X.sumii@saul.cis.upenn.edu> from "Eijiro Sumii" at Jul 05, 2000 05:30:47 PM
>
> > Look at mathematics: equality is polymorphic. Addition is just overloaded.
Sorry, but I cannot resist adding my two cents :)
It depends in what formalism you are doing mathematics in. In set
theory, equality is monomorphic, since all objects live in the same
universe.
Addition is overloaded indeed.
Cheers,
Benjamin
>
> But as you know (and as I wrote in my previous messages), the
> polymorphic equality in Caml is not at all the "equality in
> mathematics" for many (or most?) datatypes.
>
next prev parent reply other threads:[~2000-07-07 14:35 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
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 [this message]
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=200007061718.TAA02785@pauillac.inria.fr \
--to=benjamin.werner@inria.fr \
--cc=Pierre.Weis@inria.fr \
--cc=caml-list@inria.fr \
--cc=sumii@saul.cis.upenn.edu \
/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