caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <frisch@clipper.ens.fr>
To: Michel Quercia <michel.quercia@prepas.org>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Not allowed as right-hand side of 'let rec'
Date: Thu, 8 Aug 2002 15:30:39 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.SOL.4.44.0208081525400.10692-100000@clipper.ens.fr> (raw)
In-Reply-To: <20020808145630.715bf4c1.michel.quercia@prepas.org>

On Thu, 8 Aug 2002, Michel Quercia wrote:

> > note : si l'on pouvait avoir un affichage un peu plus réduit pour les
> > enregistrements qui pointent sur eux-mêmes ?
>
> Vous pouvez écrire une fonction d'impression ad-hoc et signaler au
> toplevel de l'utiliser via la directive install_printer.

Ou alors patcher un peu la routine d'affichage générique du toplevel, pour
qu'elle se rende compte qu'il y a des boucles et affiche des choses du
genre:

let v1 = { bla = v1; blo = v2 } and v2 = (v1,v1) in (v1,v2)

J'avais envoyé un patch (sale) à caml-bugs pour accompagner un
feature-wish en ce sens, ça doit pouvoir se retrouver dans l'interface
web (sinon, si ça intéresse quelqu'un, je peux l'extraire de nouveau).

-- Alain

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-08-08 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-08 12:08 Diego Olivier Fernandez Pons
2002-08-08 12:56 ` Michel Quercia
2002-08-08 13:30   ` Alain Frisch [this message]
2002-08-09  8:48 Diego Olivier Fernandez Pons

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=Pine.SOL.4.44.0208081525400.10692-100000@clipper.ens.fr \
    --to=frisch@clipper.ens.fr \
    --cc=caml-list@inria.fr \
    --cc=michel.quercia@prepas.org \
    /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;
as well as URLs for NNTP newsgroup(s).