caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Weis <Pierre.Weis@inria.fr>
To: moomba@wanadoo.fr (CHARDON Bertrand)
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] spécifications en caml
Date: Thu, 14 Jun 2001 22:39:59 +0200 (MET DST)	[thread overview]
Message-ID: <200106142039.WAA25000@pauillac.inria.fr> (raw)
In-Reply-To: <3B281914.DAB52A9E@wanadoo.fr> from CHARDON Bertrand at "Jun 13, 101 09:53:24 pm"

> Y a -t- il une logique dans l'affichage par un quelconque interpréteur
> caml des prototypes de fonction ??
> 
> Je donne un exemple :
> 
> Comment comprendre : fonctionX : 'a->'a->'a->'a list....
> 
> L'expression me parait ambigue...
> 
> Je me souviens qu'avec Caml light les profils de fonction étaient
> affichés autrement...
> 
> Merci d'éclairer ma lanterne.
> -------------------
> Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
> To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr

Oui, il y a une logique: l'opérateur -> est associatif à droite,
c'est-à-dire que

'a -> 'b -> 'c est équivalent à 'a -> ('b -> 'c)

Hope this helps,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2001-06-14 20:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-14  1:53 CHARDON Bertrand
2001-06-14 20:39 ` Pierre Weis [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=200106142039.WAA25000@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=moomba@wanadoo.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;
as well as URLs for NNTP newsgroup(s).