【发布时间】:2013-05-23 18:32:24
【问题描述】:
我有airport.mli 和airport.ml。
在airport.ml,我有
module AirportSet = Set.Make(struct type t = airport let compare = compare end);;
这没问题。
然后我有一个函数
val get_all_airport : unit -> AirportSet.t;;
,生成一个AirportSet。
所以在airport.mli 中,我需要显示module AirportSet,以便识别AirportSet。
我该怎么做?
【问题讨论】:
标签: ocaml