Browse thread
empty 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: | Andrej Bauer <Andrej.Bauer@f...> |
| Subject: | Re: RE : [Caml-list] empty type |
Mathias Kende wrote: > It's not a type, but just a valid name for a constructor that can be > redefined if necessary (although one surely does not want to do so). Way cool: # type t = () of int * int ;; type t = () of int * int # () (3, 4) ;; - : t = () (3, 4) Andrej