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=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 843EEBC69 for ; Wed, 25 Apr 2007 07:59:32 +0200 (CEST) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3P5xVVw006766 for ; Wed, 25 Apr 2007 07:59:32 +0200 Received: by mu-out-0910.google.com with SMTP id w9so116632mue for ; Tue, 24 Apr 2007 22:59:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=midR7m2J2579Et090Xfe0p3V/diShHeCE8gv8WTJS4QiLS9TXzsNgdq4HEYQ+6225vi0KY4ZQHPYY26VU6XQfbi6sXFM5e7A7pXwo6iRoei/JVA2HDISFB51yOBO5d0wntRWa10tomph5htkFcdkkknZSYixgH/lI02RsS9gzuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=dApVMszGFP71rDYmawjdelDGbI2Z/UWKKBGxOhuxN7NC3KebhqqZlM5B5CTGkBwBGsRJnZcNvjzjd6seChmGnI8rbX/JZmprt1B0keIbh9NEx2rjIafXHw4agQ00M0WarynH79FCEsjhhp/bW5GzOikQ0hmISjthym+vzOypAxg= Received: by 10.82.173.19 with SMTP id v19mr279701bue.1177480771068; Tue, 24 Apr 2007 22:59:31 -0700 (PDT) Received: from ?192.168.1.34? ( [81.37.190.201]) by mx.google.com with ESMTP id b36sm1222316ika.2007.04.24.22.59.29; Tue, 24 Apr 2007 22:59:30 -0700 (PDT) In-Reply-To: <1177480445.7544.14.camel@rosella.wigram> References: <15893C08-FD0C-456B-A12F-DADCF6CC95F9@gmail.com> <1177480445.7544.14.camel@rosella.wigram> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Cc: Caml List Content-Transfer-Encoding: 7bit From: Joel Reymont Subject: Re: [Caml-list] Transforming of ASTs and polymorphic variants Date: Wed, 25 Apr 2007 06:59:29 +0100 To: skaller X-Mailer: Apple Mail (2.752.3) X-j-chkmail-Score: MSGID : 462EEE43.001 on discorde : j-chkmail score : XXX : 5/20 1 0.000 -> 3 X-Miltered: at discorde with ID 462EEE43.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; transforming:01 variants:01 polymorphic:01 caml-list:01 expression:02 conv:02 let:03 asts:07 john:09 explain:11 typ:12 typ:12 case:13 type:14 thanks:17 John, > let conv_type x = (x : A.typ :> B.ty) > > will also work in this case. Thanks for the tip! Can you explain the following expression? (x : A.typ :> B.ty) Where can I find more on :>? Thanks, Joel -- http://wagerlabs.com/