4
文件test.ml
只有一行報價擴展:camlp4:沒有可用
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
我期望文件被預處理,並且報價要適當擴展。我在這裏忘了什麼?