From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA14278 for caml-red; Wed, 3 Jan 2001 11:51:56 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA19322 for ; Wed, 3 Jan 2001 00:53:06 +0100 (MET) Received: from localhost.localdomain (jimbo229.zip.com.au [202.7.88.229]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f02Nr2P10815; Wed, 3 Jan 2001 00:53:03 +0100 (MET) Received: from ozemail.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id HAA00438; Mon, 1 Jan 2001 07:39:04 +1100 Message-ID: <3A4F9968.7BDA7545@ozemail.com.au> Date: Mon, 01 Jan 2001 07:39:04 +1100 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Daniel de Rauglaudre CC: caml-list@inria.fr Subject: Re: status of some big "important" features? References: <4.3.2.7.2.20001226151428.00b2f680@shell16.ba.best.com> <20001228101047.A27850@verdot.inria.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis@pauillac.inria.fr Daniel de Rauglaudre wrote: > > Hi, > > On Tue, Dec 26, 2000 at 03:47:08PM -0800, Chris Hecker wrote: > > > PS. Minor question I thought of the other day...is there any way to > > write "nth" for tuples > Impossible in Camlp4, it is a typing problem. Requires overloading. Use something like: let proj_3_5 (_,_,x,_,_) = x which is easy enough to define when you need it, or just write (match tup with (_,_,x,_,_) -> x) -- John (Max) Skaller, mailto:skaller@maxtal.com.au 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 checkout Vyper http://Vyper.sourceforge.net download Interscript http://Interscript.sourceforge.net