Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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-28 (07:25)
From: Chung-chieh Shan <ccshan@p...>
Subject: Re: Void type?
Stefan Monnier <> wrote in article <> in gmane.comp.lang.caml.inria:
> Is there a void type in OCaml (i.e. a type which has no values), or a way to
> simulate it?

type void = Void of void

Edit this signature at
It is the first responsibility of every citizen to question authority.
Benjamin Franklin