RosettaCodeData/Task/Associative-array-Creation/OCaml/associative-array-creation-3.ml
2024-10-16 18:07:41 -07:00

1 line
71 B
OCaml

let quux = try Hashtbl.find hash "quux" with Not_found -> some_value;;