From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C03BDBC6B for ; Sat, 28 Jul 2007 09:58:26 +0200 (CEST) Received: from relay-av.club-internet.fr (relay-av.club-internet.fr [194.158.96.107]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6S7wQGP030179 for ; Sat, 28 Jul 2007 09:58:26 +0200 Received: from Galois (4aa54-2-89-80-51-65.dsl.club-internet.fr [89.80.51.65]) by relay-av.club-internet.fr (Postfix) with ESMTP id 478192560C for ; Sat, 28 Jul 2007 09:58:26 +0200 (CEST) Received: from evariste by Galois with local (Exim 4.67) (envelope-from ) id 1IEhBx-0000uk-Lo for caml-list@inria.fr; Sat, 28 Jul 2007 09:58:25 +0200 Date: Sat, 28 Jul 2007 09:58:25 +0200 From: =?iso-8859-1?Q?S=E9bastien?= Hinderer To: caml-list@inria.fr Subject: Re: Void type? Message-ID: <20070728075825.GA3508@galois> Mail-Followup-To: caml-list@inria.fr References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Miltered: at concorde with ID 46AAF722.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ens-lyon:01 ocaml:01 simulate:01 void:06 void:06 sebastien:09 sebastien:09 type:14 type:14 there:18 values:21 which:22 what:24 way:25 stefan:26 Stefan Monnier : > > Is there a void type in OCaml (i.e. a type which has no values), or a way to > simulate it? What about type void = { v : void };; ? Sébastien.