From: Jerome Vouillon <vouillon@clipper.ens.fr>
To: Vyskocil Vladimir <vyskocil@math.unice.fr>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: Unbound row variable in #basic_bloc
Date: Mon, 9 Jun 1997 10:59:28 +0200 (MET DST) [thread overview]
Message-ID: <Pine.SUN.3.95.970609101641.26256A-100000@vedette> (raw)
In-Reply-To: <33982B7E.532E30C7@math.unice.fr>
Bonjour,
> J'ai pas trouve l'explication de ce message d'erreur dans la documention
> d'objective caml 1.05. Cela survient lorsque je fait :
>
> type node_t=#basic_bloc
>
> Si quelqu'un pouvait me donner des indications ?
Cette erreur est similaire a l'erreur "Unbound type parameter 'a"
que l'on obtient lorsque le second membre d'une definition de type
contient des variables de types libres (par exemple : type t = 'a).
Plus precisement, l'abreviation #basic_bloc s'expanse en un type
d'objet "ouvert" < m_i : t_i; .. >. Dans ce type, les points
d'expansions representent en fait une variable de type, appelee "row
variable". Cette variable est un parametre implicite de l'abreviation
#basic_bloc. Comme elle n'apparait pas en parametre du constructeur
node_t dans la definition de type "type node_t=#basic_block", une
erreur est produite.
Le terme "row variable" n'apparait effectivement nulle part dans
le manuel... Je vais le rajouter.
-- Jerome Vouillon
next prev parent reply other threads:[~1997-06-12 8:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-06 15:23 Vyskocil Vladimir
1997-06-09 8:59 ` Jerome Vouillon [this message]
1997-06-09 12:46 ` Wolfgang Lux
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.SUN.3.95.970609101641.26256A-100000@vedette \
--to=vouillon@clipper.ens.fr \
--cc=caml-list@inria.fr \
--cc=vyskocil@math.unice.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