From: skaller <skaller@users.sourceforge.net>
To: Virgile Prevosto <virgile.prevosto@m4x.org>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Type from local module would escape its scope?
Date: Tue, 04 Jul 2006 00:23:44 +1000 [thread overview]
Message-ID: <1151936624.5203.51.camel@rosella.wigram> (raw)
In-Reply-To: <20060703155131.7031cffa@is003364.intra.cea.fr>
On Mon, 2006-07-03 at 15:51 +0200, Virgile Prevosto wrote:
> Because "'a -> unit" does not mean the same thing in both cases. In the
> case of Pervasives.ignore, it is a type scheme
[]
> IIRC arguments can not have a generalized type of the form
> "forall 'a, 'a -> unit", but methods and record fields support such
> types
Nice explanation! Interesting comparison of
type schema vs. type variables.
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
next prev parent reply other threads:[~2006-07-03 14:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-03 13:19 Bruno De Fraine
2006-07-03 13:23 ` [Caml-list] " Jonathan Roewen
2006-07-03 13:38 ` Jean-Marie Gaillourdet
2006-07-03 13:45 ` Alain Frisch
2006-07-03 13:51 ` Virgile Prevosto
2006-07-03 14:23 ` skaller [this message]
2006-07-03 14:50 ` Bruno De Fraine
2006-07-03 15:10 ` Jonathan Roewen
2006-07-03 17:30 ` Petty complaint (Was Re: [Caml-list] Type from local module would escape its )scope? brogoff
2006-07-03 18:50 ` Etienne Miret
2006-07-04 21:08 ` Boris Yakobowski
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=1151936624.5203.51.camel@rosella.wigram \
--to=skaller@users.sourceforge.net \
--cc=caml-list@yquem.inria.fr \
--cc=virgile.prevosto@m4x.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