有没有在OCaml中声明函数但未定义的方法?我正在使用OCaml解释器。
我有两个函数:
我有两个函数:
let myFunctionA =
(* some stuff here..... *) myFunctionB (*some stuff *)
let myFunctionB =
(* some stuff here .... *) myFunctionA (* some stuff *)
然而这并不奏效,因为 myFunctionA 在 myFunctionB 之前无法调用。
我已经进行了几次谷歌搜索,但似乎找不到任何东西。我该如何完成这个任务?