From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id EB36BBC69 for ; Wed, 21 Feb 2007 19:34:47 +0100 (CET) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1LIYlsj032246 for ; Wed, 21 Feb 2007 19:34:47 +0100 Received: from localhost (kerneis.info [82.224.215.18]) by smtp4-g19.free.fr (Postfix) with ESMTP id 1D47266896 for ; Wed, 21 Feb 2007 19:34:47 +0100 (CET) Received: from localhost ([127.0.0.1] ident=gabriel) by localhost with esmtp (Exim 4.63) (envelope-from ) id 1HJwIb-0001tk-Aj for caml-list@yquem.inria.fr; Wed, 21 Feb 2007 19:34:41 +0100 Date: Wed, 21 Feb 2007 19:34:33 +0100 From: Gabriel Kerneis To: caml-list@yquem.inria.fr Subject: Record types "with" syntax and camlp4 Message-ID: <20070221193433.07f5981b@localhost> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_QP1ihab8eHaQKuy.PRkxMYw; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Miltered: at concorde with ID 45DC90C7.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; syntax:01 camlp:01 syntax:01 camlp:01 longident:01 expr:01 zsh:01 1.5:98 4.1:98 deprecated:01 int:01 parse:02 binding:02 seems:03 float:03 --Sig_QP1ihab8eHaQKuy.PRkxMYw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, the { x with y =3D z} syntax seems to be broken in camlp4. But i can't find any information about it in the (deprecated ?) camlp4 manual. 19:29 gabriel % cat record.ml=20 type t =3D { a : int ; b : float } ; value x =3D=20 let s =3D {a=3D5 ; b=3D 1.5} in {s with b =3D 4.1} ; 19:29 gabriel % camlp4rf record.ml =20 File "record.ml", line 4, characters 8-12: Parse error: [fun_binding] expected after [label_longident] (in [label_expr])=20 zsh: exit 2 camlp4rf record.ml Any hint ? Thanks a lot, --=20 Gabriel Kerneis --Sig_QP1ihab8eHaQKuy.PRkxMYw Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF3JC/6a2JmXQu5bYRAhYgAJ43VnCF91ZW9teHJjzQ5gn0kI+bowCgrCXC +yTNlLZee5lg3og+XMm+muw= =dOV1 -----END PGP SIGNATURE----- --Sig_QP1ihab8eHaQKuy.PRkxMYw--