该文件test.ml
仅包含一行:
let foo = <:expr< foo >>
然后我使用以下命令行将camlp4应用于该文件:
camlp4o pa_extend.cmo test.ml
输出是:
File "test.ml", line 1, characters 12-24:
While finding quotation "expr" in a position of "expr":
There is no quotation expander available.
Camlp4: Uncaught exception: Not_found
我希望对文件进行预处理,并对报价进行适当扩展。我在这里忘记了什么?