From: temofey <temofey@sit.kiev.ua>
To: caml-list@inria.fr
Subject: [Caml-list] About overloading( + +. and <)
Date: Mon, 2 Jul 2001 20:07:18 +0300 [thread overview]
Message-ID: <19838.010702@sit.kiev.ua> (raw)
Hello
In O'Caml not present overloading. Because operators like "plus",
"minus", "divide" and "multiple" is separate for Integers and Float.
For Int they are "+","-","*" and "/", and for Float they are "+.",
"-.", "*." and "/.".
But compare operators like "<", ">" is the same for Integer, Float,
String. Are they overload? Is this contradiction in terms?
--
temofey
temofey@sit.kiev.ua
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-07-02 17:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 17:07 temofey [this message]
2001-07-03 7:29 ` Jean-Christophe Filliatre
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=19838.010702@sit.kiev.ua \
--to=temofey@sit.kiev.ua \
--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