如何在OCaml中模拟这个Python习惯用法?
if __name__=="__main__": main()
有关其他编程语言的示例,请参阅RosettaCode.
ocaml scriptedmain
ocaml ×1
scriptedmain ×1