Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Christophe TROESTLER <debian00@tiscali.be>
To: jon@jdh30.plus.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: replacing Mathematica was: Polymorphic pretty printing
Date: Fri, 29 Oct 2004 15:11:47 +0200 (CEST)	[thread overview]
Message-ID: <20041029.151147.51093516.debian00@tiscali.be> (raw)
In-Reply-To: <200410282244.44931.jon@jdh30.plus.com>

On Thu, 28 Oct 2004, Jon Harrop <jon@jdh30.plus.com> wrote:
> 
> 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...

The future of GCaml is not clear but I hope that "additions" to a
generic definitions.  Maybe with

generic (+) =
| float -> float -> float => (+.)
| $a -> $a -> $a => (+) (* old + *)

ChriS


      reply	other threads:[~2004-10-29 13:13 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
2004-10-29 13:11       ` Christophe TROESTLER [this message]

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=20041029.151147.51093516.debian00@tiscali.be \
    --to=debian00@tiscali.be \
    --cc=caml-list@inria.fr \
    --cc=jon@jdh30.plus.com \
    /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