From: Jon Harrop <jon@jdh30.plus.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: replacing Mathematica was: Polymorphic pretty printing
Date: Thu, 28 Oct 2004 22:44:44 +0100 [thread overview]
Message-ID: <200410282244.44931.jon@jdh30.plus.com> (raw)
In-Reply-To: <20041028.151108.108534348.debian00@tiscali.be>
On Thursday 28 October 2004 14:11, Christophe TROESTLER wrote:
> IMHO, the main "annoyance" with that goal is notational: there will be
> many uses of "+" for example and each of these will need its own
> notation. While I am not bothered by the two "+." and "+", this can
> become heavy when one manipulates lots of different structures
> (vectors, matrices, polynomials, groups,...). GCaml will be great for
> this.
Yes, OCaml is not well suited to implementing conventional mathematical
notation because of operator overloading.
However, in GCaml, do the different definitions (e.g. "+" : int -> int -> int
| float -> float -> float) have to be specified at the same time (i.e. in the
"+" function)? If so, then GCaml is also ill suited...
Cheers,
Jon.
next prev parent reply other threads:[~2004-10-28 21:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 19:15 HENRIKSON, JEFFREY
2004-10-28 5:30 ` [Caml-list] " skaller
2004-10-28 11:25 ` Andrej Bauer
2004-10-28 13:11 ` [Caml-list] " Christophe TROESTLER
2004-10-28 20:45 ` Andrej Bauer
2004-10-29 13:01 ` Christophe TROESTLER
2004-10-28 21:44 ` Jon Harrop [this message]
2004-10-29 13:11 ` Christophe TROESTLER
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=200410282244.44931.jon@jdh30.plus.com \
--to=jon@jdh30.plus.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