Browse thread
Re: arity of type constructors
- Hubert Canon
[
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: | Hubert Canon <Hubert.Canon@i...> |
| Subject: | Re: arity of type constructors |
> # type t = T of int * int;; > type t = | T of int * int > # T(3,4);; I do not understand why we don't use another syntax for constructors : If we had something like : # T 3 4;; - : t = (T 3 4) it would be less confusing. -- Hubert Canon