RosettaCodeData/Task/Associative-array-Creation/OCaml/associative-array-creation-6.ml

2 lines
72 B
OCaml
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
let quux = try StringMap.find "quux" map with Not_found -> some_value;;