* Processing an Ast.expr list in Camlp4
@ 2009-03-30 16:23 Andre Nathan
0 siblings, 0 replies; only message in thread
From: Andre Nathan @ 2009-03-30 16:23 UTC (permalink / raw)
To: caml-list
Hello
Currently I have a function that basically does simply this:
let foo _loc seq =
<:expr< do { $list:seq$ } >>
where seq has type `Camlp4.PreCast.Syntax.Ast.expr list'.
Is it possible to iterate over this list and process each expr manually,
for example, doing pattern matching on them, instead of just feeding it
to the do{} block?
Thanks,
Andre
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-30 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-30 16:23 Processing an Ast.expr list in Camlp4 Andre Nathan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox