From: Christophe Raffalli <christophe.raffalli@univ-savoie.fr>
To: Berke Durak <berke.durak@exalead.com>
Cc: Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] How to make a value uncomparable
Date: Wed, 23 Apr 2008 17:36:47 +0200 [thread overview]
Message-ID: <480F578F.9040403@univ-savoie.fr> (raw)
In-Reply-To: <480F3E52.60300@exalead.com>
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
>=20
> module Uncomparable :
> sig
> type 'a t
> val make : 'a -> 'a t
> val get : 'a t -> 'a
> end
> =3D
> struct
> type 'a t =3D unit -> 'a
>=20
> let make x =3D fun _ -> x
>=20
> let get x =3D x ()
> end
>=20
--=20
Christophe Raffalli
Universite de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex
tel: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature. The public key is
stored on www.keyserver.net
---------------------------------------------
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2008-04-23 15:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 13:49 Berke Durak
2008-04-23 15:36 ` Christophe Raffalli [this message]
2008-04-23 16:14 ` [Caml-list] " Berke Durak
2008-04-23 16:49 ` Christophe Raffalli
2008-04-23 17:43 ` Berke Durak
2008-04-23 17:46 ` Jon Harrop
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=480F578F.9040403@univ-savoie.fr \
--to=christophe.raffalli@univ-savoie.fr \
--cc=berke.durak@exalead.com \
--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