RUs*_*512 3 ocaml compiler-errors
在 windows 环境中使用 ocamlc:
type splitter = {varname:string; count:int; mean:float}
Run Code Online (Sandbox Code Playgroud)
当我编译源代码时工作正常,但是:
type splitter = {Varname:string; count:int; mean:float}
Run Code Online (Sandbox Code Playgroud)
导致编译器抱怨(没有提供太多信息)
File "splitter.ml", line 1, characters 17-24:
Error: Syntax error
Run Code Online (Sandbox Code Playgroud)
同时,第二行与 OCaml 完美配合。这种行为有充分的理由吗?我没有在网上找到任何东西。
| 归档时间: |
|
| 查看次数: |
525 次 |
| 最近记录: |