我有一个与OCaml有关的问题。我的问题是:如何将函数结果作为参数传递给另一个函数?例:
let function a b = a/b;; let anotherFunction p t = p + t;; function 10 5;;
我可以通过从结果功能(2)一个参数-比方说牛逼的anotherFunction ¨?
谢谢!
ocaml function
function ×1
ocaml ×1