From: Simon Cruanes <simon.cruanes.2007@m4x.org>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: "Mário José Parreira Pereira" <mariojppereira@gmail.com>,
"Lukasz Stafiniak" <lukstafi@gmail.com>,
"caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Type of term
Date: Thu, 6 Feb 2014 20:05:27 +0100 [thread overview]
Message-ID: <20140206190527.GL11278@emmental.inria.fr> (raw)
In-Reply-To: <CAPFanBH+Ycw_G5EhE0pVH4ymdh77Ca4NGkXN5CeSjDNn9jo8xw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
Le Thu, 06 Feb 2014, Gabriel Scherer a écrit :
> > I was just simply wandering if there wasn't any OCaml function that would
> > work like:
> > type_of(let f x = x) = 'a->'a
>
> No, there is not.
>
> What are you trying to do?
Sounds like another use-case for the long-awaited Ocaml-ty extension ;-)
my NaN cents
--
Simon
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-02-06 19:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 17:17 Mário José Parreira Pereira
2014-02-06 17:17 ` Lukasz Stafiniak
2014-02-06 17:32 ` Mário José Parreira Pereira
2014-02-06 17:45 ` Raphaël Proust
2014-02-06 19:01 ` Gabriel Scherer
2014-02-06 19:05 ` Simon Cruanes [this message]
2014-02-10 8:58 ` Goswin von Brederlow
2014-02-06 17:23 ` Lukasz Stafiniak
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=20140206190527.GL11278@emmental.inria.fr \
--to=simon.cruanes.2007@m4x.org \
--cc=caml-list@inria.fr \
--cc=gabriel.scherer@gmail.com \
--cc=lukstafi@gmail.com \
--cc=mariojppereira@gmail.com \
/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