From: Hubert Canon <Hubert.Canon@irisa.fr>
Message-Id: <199705120708.JAA01806@hetre.irisa.fr>
Subject: Re: arity of type constructors
To: caml-list@inria.fr
Date: Mon, 12 May 97 9:08:04 MET DST
> # 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
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:10 MET