[
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: | 2007-09-03 (14:59) |
From: | Bruno De Fraine <Bruno.De.Fraine@v...> |
Subject: | Re: [Caml-list] camlp4 3.10.0 and Camlp4.PreCast.Ast.ident in tuples |
On 03 Sep 2007, at 16:22, Richard Jones wrote: > let convert = > (* Avoid generating a single-element tuple. *) > match conversions with > | [] -> <:expr< () >> > | [a] -> <:expr< $a$ >> > | conversions -> > <:expr< ( $list:conversions$ ) >> in <--- I think this has been answered before. E.g. see this message and the reply from Nicolas: http://caml.inria.fr/pub/ml-archives/caml-list/ 2007/04/6ed141fb8ef02d20b4a0589f11f7817b.en.html Regards, Bruno -- Bruno De Fraine Vrije Universiteit Brussel Faculty of Applied Sciences, DINF - SSEL Room 4K208, Pleinlaan 2, B-1050 Brussels tel: +32 (0)2 629 29 75 fax: +32 (0)2 629 28 70 e-mail: Bruno.De.Fraine@vub.ac.be