caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jeremy Yallop <yallop@gmail.com>
To: John Carr <jfc@mit.edu>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Defeating the value restriction
Date: Wed, 26 Oct 2011 21:22:59 +0100	[thread overview]
Message-ID: <CAAxsn=H0dT7fEAgi5cKjx9oXZbKAZmFeM2ApSE2vsQq9y+9Hdg@mail.gmail.com> (raw)
In-Reply-To: <201110262007.p9QK7CMd028545@outgoing.mit.edu>

On 26 October 2011 21:07, John Carr <jfc@mit.edu> wrote:
> Can I rewrite this function to have the type I requested
> instead of failing type checking?

Yes: see "How to write a function with polymorphic arguments?" in the Caml FAQ:

http://caml.inria.fr/resources/doc/faq/core.en.html#polymorphic-arguments

  reply	other threads:[~2011-10-26 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 20:07 John Carr
2011-10-26 20:22 ` Jeremy Yallop [this message]
2011-10-28  0:05 ` Jacques Garrigue

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='CAAxsn=H0dT7fEAgi5cKjx9oXZbKAZmFeM2ApSE2vsQq9y+9Hdg@mail.gmail.com' \
    --to=yallop@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=jfc@mit.edu \
    /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).