[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-03-20 (11:15) |
From: | Hugo Ferreira <hmf@i...> |
Subject: | Re: [Caml-list] camlp4: processing lists |
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.