caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Guillaume Hennequin <g.hennequin@eng.cam.ac.uk>
To: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] issue with polymorphism
Date: Mon, 16 May 2016 17:55:43 +0100	[thread overview]
Message-ID: <1463417600-sup-2106@hennequin-xps> (raw)
In-Reply-To: <CAPFanBEXbZJLTvj06Wug1WKRCb9D4HG6h8YL6oqdjHwXEtFEmw@mail.gmail.com>

Thanks all for your prompt answers;

> See the FAQ entry, "How to write a function with polymorphic arguments?"
>   https://ocaml.org/learn/faq.html#Howtowriteafunctionwithpolymorphicarguments

this page explains how to do it with records or objects, but ends with a 
mysterious "FIXME: a direct way now exists". Does anyone know what this might 
refer to?

best wishes,
Guillaume

  reply	other threads:[~2016-05-16 16:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-16 15:45 Guillaume Hennequin
2016-05-16 15:57 ` Gabriel Scherer
2016-05-16 16:55   ` Guillaume Hennequin [this message]
2016-05-16 17:32     ` Gerd Stolpmann
2016-05-16 18:49       ` Yotam Barnoy
2016-05-16 18:53         ` Gregory Malecha
2016-05-16 19:04           ` Yotam Barnoy
2016-05-16 19:09             ` Gregory Malecha
2016-05-16 15:57 ` Nicolas Ojeda Bar

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=1463417600-sup-2106@hennequin-xps \
    --to=g.hennequin@eng.cam.ac.uk \
    --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).