Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Sébastien Hinderer <Sebastien.Hinderer@e...>
Subject: Re: Void type?
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.