Skip to content

Commit

Permalink
Install_integer_printers: use OCaml 4.03-compatible API
Browse files Browse the repository at this point in the history
  • Loading branch information
yallop committed Dec 7, 2024
1 parent b38b455 commit e41d68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion top/install_integer_printers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ let install_printer printer =
end

let is_utop () =
Option.is_some (Toploop.get_directive "utop_help")
Hashtbl.mem Toploop.directive_table "utop_help"

let () =
(* Preload the toplevel environment and integers library if we are in utop.
Expand Down

0 comments on commit e41d68b

Please sign in to comment.