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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 7ADE7BC6B for ; Mon, 12 Feb 2007 15:26:04 +0100 (CET) Received: from mta5.srv.hcvlny.cv.net (mta5.srv.hcvlny.cv.net [167.206.4.200]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1CEQ3DY008229 for ; Mon, 12 Feb 2007 15:26:04 +0100 Received: from [192.168.15.101] (ool-457da870.dyn.optonline.net [69.125.168.112]) by mta5.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTP id <0JDC001RRTFCW850@mta5.srv.hcvlny.cv.net> for caml-list@inria.fr; Mon, 12 Feb 2007 09:26:03 -0500 (EST) Date: Mon, 12 Feb 2007 09:29:02 -0500 From: Serge Aleynikov Subject: Re: [Caml-list] polymorphic variants and camlp4 In-reply-to: <20070212041235.GA31087@pulp.rsise.anu.edu.au> To: Pietro Abate , caml-list@yquem.inria.fr, ocaml ml Message-id: <45D079AE.7050001@hq.idt.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <20070212033220.GA30365@pulp.rsise.anu.edu.au> <20070212041235.GA31087@pulp.rsise.anu.edu.au> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) X-Miltered: at discorde with ID 45D078FB.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; variants:01 camlp:01 syntax:01 camlp:01 cmo:01 syntax:01 variants:01 bug:01 bug:01 polymorphic:01 polymorphic:01 wrote:01 wrote:01 caml-list:01 gif:98 If you are unsure how to translate some standard syntax to revised use the following tool: camlp4o pr_r.cmo standard_syntax_file.ml For the question below add "=" after the opening square bracket: type a = [= `A ]; Serge Pietro Abate wrote: > On Mon, Feb 12, 2007 at 02:32:20PM +1100, Pietro Abate wrote: >> What is the syntax to use polymorphic variants with camlp4 ? >> <:str_item< type a = A >> is ok, but <:str_item< type a = [ `A ] >> >> doesn't work as expected... > > http://caml.inria.fr/mantis/view.php?id=3823 > > it seems that searching caml.inria.fr for "polymorphic variants camlp4" > and selecting the entire web site [1] does not give results from the bug > tracking system... Searching the site with google [2], return the above link > as first... It might be a good idea to add the bug tracking system as a > search option on the inria site. > > [1] > http://caml.inria.fr//cgi-bin/search.en.cgi?words=polymorphic+variants+camlp4&corpus=all&mode=default&page=1&number=10 > > [2] > http://www.google.com/custom?sa=Google+Search&cof=GALT%3A%23CC6666%3BGL%3A0%3BVLC%3A%236666FF%3BAH%3Acenter%3BBGC%3Awhite%3BLH%3A60%3BLC%3A%236666FF%3BL%3Ahttp%3A%2F%2Frivesaltes.inria.fr%2Fpub%2Flogos%2Fthe-caml-language.468x60.gif%3BALC%3A%236666FF%3BLW%3A468%3BT%3Ablack%3BGIMP%3A%23CC6666%3BAWFID%3Ae31c4f7be5771b9d%3B&domains=caml.inria.fr&sitesearch=caml.inria.fr&q=polymorphic+variants+camlp4 > >> When is the new version of camlp4/3.10 due ? >> (this month, next month, next year) ? > >