module Unit: sig .. end
sig
end
Unit 值。
type t = unit =
unit
|
()
Unit 型別。
建構子 () 包含在此處,使其具有路徑,但不建議在使用者定義的資料型別中使用。
val equal : t -> t -> bool
t -> t -> bool
equal u1 u2 永遠為 true。
equal u1 u2
true
val compare : t -> t -> int
t -> t -> int
compare u1 u2 永遠為 0。
compare u1 u2
0
val to_string : t -> string
t -> string
to_string b 永遠為 "()"。
to_string b
"()"