推导数据类型的to_string方法如何使用ppx和jbuilder推导to_string数据类型的方法? 例如,我试图用@@deriving show推导出一个数据类型的show_*方法。我有一个简单main.ml文件看起来像这样: open Core
type foo = Bar | Baz
[@@deriving show]
let() = printf "%s\n" (s
安装npm和node,编译OCaml的文件与js_of_ocaml了错误后,因此我做了opam switch reinstall system: :testweb $ opam switch reinstall system
Your system compiler has been changed. Do you want to upgrade your OPAM installation ?