3
我不是很熟悉Ocaml中的地圖模塊。簡單的方法來找到綁定的地圖中的鍵,Ocaml
我從int
一個簡單的地圖m: string Map.Make(Int).t
到string
,我知道每一個綁定(:string
)是獨一無二的。我想寫一個函數find_from_string_to_int: string -> string Map.Make(Int).t -> int
,任何人都可以幫忙嗎?非常感謝你!
謝謝,那個作品 – SoftTimur