Browse thread
Processing an Ast.expr list in Camlp4
- Andre Nathan
[
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: | -- (:) |
| From: | Andre Nathan <andre@d...> |
| Subject: | Processing an Ast.expr list in Camlp4 |
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