3
我試圖與一個可選的地圖類型:語法模塊選件
module CharMap = Map.Make(Char)
type trie = bool * CharMap.t option
但是這會導致一個語法錯誤:
Error: The type constructor CharMap.t expects 1 argument(s),
but is here applied to 0 argument(s)
我在做什麼錯?
有沒有辦法對我來說,指定什麼「一個必須是? – 2012-03-19 16:28:25
我已經更新了我的答案 – Thomas 2012-03-19 16:59:24