Browse thread
Void type?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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.