English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Void type?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-07-29 (11:25)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Re: Void type?
On Sunday 29 July 2007 12:05:47 Arnaud Spiwack wrote:
> It is the good solution if you work with the original syntax (and it's
> absolutely equivalent to the dual definition in term of empty variant
> which you can write in the revised syntax).

I don't quite understand this "empty variant from the revised syntax thing". 
How is:

  type void

not an empty variant?

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists