Advertisement
Guest User

Untitled

a guest
Mar 13th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.23 KB | None | 0 0
  1. let () =
  2.   try while true do
  3.     let name = input_line stdin in
  4.     match Dict.find d name with
  5.     | Some number -> Printf.printf "%s=%s\n" name number
  6.     | None -> Printf.printf "Not found.\n"
  7.   done with End_of_file -> ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement