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.
module D = struct type t = float list end module DF(D) = struct type t = D.t end
在 utop 中出现语法错误
然而,
module D = struct type t = float list end;; module DF(D) = struct type t = D.t end
才不是
Utop 忽略右侧的所有内容,;;因为;;表示顶级短语的结束。
;;