From: "Bünzli Daniel" <daniel.buenzli@erratique.ch>
To: Till Varoquaux <till.varoquaux@gmail.com>
Cc: "caml-list List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Re: Empty polymorphic variant type
Date: Wed, 6 Feb 2008 13:33:13 +0100 [thread overview]
Message-ID: <ECD0436D-BCF8-4A5C-A556-94034735A454@erratique.ch> (raw)
In-Reply-To: <9d3ec8300802060424j6fbe3378m8ac51d14cc399d6b@mail.gmail.com>
Le 6 févr. 08 à 13:24, Till Varoquaux a écrit :
> would work but it seems clunky and convoluted.
Still clunky but what about
type permission_kind = [ `Read | `Write ]
type 'a account contraint 'a = [< `None | `Some of [<
permission_kind]];;
Best,
Daniel
next prev parent reply other threads:[~2008-02-06 12:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-06 12:16 Till Varoquaux
2008-02-06 12:24 ` Till Varoquaux
2008-02-06 12:33 ` Bünzli Daniel [this message]
2008-02-06 13:13 ` [Caml-list] " Till Varoquaux
2008-02-07 15:18 ` Christophe TROESTLER
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=ECD0436D-BCF8-4A5C-A556-94034735A454@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=caml-list@inria.fr \
--cc=till.varoquaux@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;
as well as URLs for NNTP newsgroup(s).