Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let () =
- try while true do
- let name = input_line stdin in
- match Dict.find d name with
- | Some number -> Printf.printf "%s=%s\n" name number
- | None -> Printf.printf "Not found.\n"
- done with End_of_file -> ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement