Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果这是一个愚蠢的问题,我深表歉意,但我是 OCaml 的新手,我无法在任何地方找到这样的例子。有人可以给我一个简单的 Ocaml 语法示例,用于在另一个函数中定义辅助函数吗?
谢谢!
干得好:
let outer x y = let inner z = x + z in inner y