caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Serge Aleynikov <serge@hq.idt.net>
To: Pietro Abate <Pietro.Abate@anu.edu.au>,
	caml-list@yquem.inria.fr, ocaml ml <caml-list@inria.fr>
Subject: Re: [Caml-list] polymorphic variants and camlp4
Date: Mon, 12 Feb 2007 09:29:02 -0500	[thread overview]
Message-ID: <45D079AE.7050001@hq.idt.net> (raw)
In-Reply-To: <20070212041235.GA31087@pulp.rsise.anu.edu.au>

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) ?
> 
> 


  reply	other threads:[~2007-02-12 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12  3:32 Pietro Abate
2007-02-12  4:01 ` [Caml-list] " Martin Jambon
2007-02-12  4:12 ` Pietro Abate
2007-02-12 14:29   ` Serge Aleynikov [this message]
2007-02-12 10:54 ` Nicolas Pouillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D079AE.7050001@hq.idt.net \
    --to=serge@hq.idt.net \
    --cc=Pietro.Abate@anu.edu.au \
    --cc=caml-list@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).