Sorry for my bad english.

I'am write camlp4 parser.

Correct code:
-----
  <:str_item<let a = <:ctyp<int>>>>
----
this will be converted to:
----
let a =  Ast.TyId (_loc, Ast.IdLid (_loc, "int"));
-------


Exitst any way to do such things?

------
  let t = <:ctyp<int>> in
  <:str_item<let t = ?content of t here? >>
----
||
-----
let t = Ast.TyId (_loc, Ast.IdLid (_loc, "int"));
-----



_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to