caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Pietro Abate <Pietro.Abate@anu.edu.au>, ocaml ml <caml-list@inria.fr>
Subject: Re: [Caml-list] evaluation order ...
Date: Tue, 11 Jul 2006 09:42:50 +0100	[thread overview]
Message-ID: <20060711084250.GA4197@furbychan.cocan.org> (raw)
In-Reply-To: <20060711075519.GA14285@pulp.rsise.anu.edu.au>

On Tue, Jul 11, 2006 at 05:55:19PM +1000, Pietro Abate wrote:
> why does the order matter ?
> if "val a" is of type (int -> '_a) -> '_a = <fun> why '_a is fixed as soon
> as I use it once ? Do I have to add a type constraint ?

'_a isn't the same as 'a

There is a FAQ on this:

http://caml.inria.fr/pub/old_caml_site/FAQ/FAQ_EXPERT-eng.html#variables_de_types_faibles

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com


      reply	other threads:[~2006-07-11  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-11  7:55 Pietro Abate
2006-07-11  8:42 ` Richard Jones [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=20060711084250.GA4197@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=Pietro.Abate@anu.edu.au \
    --cc=caml-list@inria.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).