Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Andrej Bauer <Andrej.Bauer@andrej.com>
To: Christophe TROESTLER <debian00@tiscali.be>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: replacing Mathematica was: Polymorphic pretty printing
Date: Thu, 28 Oct 2004 22:45:06 +0200	[thread overview]
Message-ID: <41815A52.3040003@andrej.com> (raw)
In-Reply-To: <20041028.151108.108534348.debian00@tiscali.be>

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.

I think you just convencied me to use Haskell and its type classes.
Seriously, I wonder if a purely functional language might not be better
for my purposes.

> About the original thread, "polymorphic pretty printing", it would be
> nice if folks at INRIA could give indications on what they think the
> better solution is -- it would be nice if it could be made independent
> of possible changes in the toplevel code.

Yes, what to the makers of ocaml say? I am afraid there is no way to
avoid dependence on toplevel code, since the pretty printer must know
something about the representation of types and values.

But that's not my worry anymore. I am off to haskell, Bye bye.

Andrej


  reply	other threads:[~2004-10-28 20:45 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 [this message]
2004-10-29 13:01       ` Christophe TROESTLER
2004-10-28 21:44     ` Jon Harrop
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=41815A52.3040003@andrej.com \
    --to=andrej.bauer@andrej.com \
    --cc=caml-list@inria.fr \
    --cc=debian00@tiscali.be \
    /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