caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hugo Ferreira <hmf@inescporto.pt>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] camlp4: processing lists
Date: Tue, 20 Mar 2007 11:14:52 +0000	[thread overview]
Message-ID: <45FFC22C.8010903@inescporto.pt> (raw)
In-Reply-To: <cd67f63a0703200354l354085ccy1604948031487288@mail.gmail.com>

Hi,

Nicolas Pouillard wrote:
> On 3/20/07, Hugo Ferreira <hmf@inescporto.pt> wrote:
>> Hello,
>>
> 
> Here you reached a bug (fixed for 3.10)
> 
>>         List.iter (fun i -> print_endline i)
>>           [do { "1"; "f(X,Y)"; "g(X,Y)"; "4" }]
>>       }
>>     in
>>     ()
>>

So I take it that I either wait for 3.10 or circumvent this problem with 
  a non-revised syntax print.

> 
> The in revised 1; 2 is not a valid expression you need to add do { ...
> } thus by printing it in the revised syntax you see that was not what
> you want.
> BTW it was a bug in camlp4 to print [1; 2] where it was [(1; 2)].
> 
> Hope this helps,
> 

It has indeed.


Thank you,
Hugo Ferreira.


      reply	other threads:[~2007-03-20 11:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 10:27 Hugo Ferreira
2007-03-20 10:54 ` [Caml-list] " Nicolas Pouillard
2007-03-20 11:14   ` Hugo Ferreira [this message]

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=45FFC22C.8010903@inescporto.pt \
    --to=hmf@inescporto.pt \
    --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).