From 13db16609d4db3f174f718184cc36afb02e043ea Mon Sep 17 00:00:00 2001 From: letouzey Date: Sat, 15 Oct 2011 14:28:54 +0000 Subject: debugging.txt: no more typing of #use "include" if using .ocamlinit git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14562 85f007b7-540e-0410-9357-904b9bb8a0f7 --- dev/include | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dev/include') diff --git a/dev/include b/dev/include index 705e8e3754..13245eb5df 100644 --- a/dev/include +++ b/dev/include @@ -1,6 +1,19 @@ (* File to include to install the pretty-printers in the ocaml toplevel *) +(* Typical usage : + + $ coqtop.byte # or even better : rlwrap coqtop.byte + Coq < Drop. + # #use "include";; + + Alternatively, you can avoid typing #use "include" after each Drop + by adding the following lines in your $HOME/.ocamlinit : + + if Filename.basename Sys.argv.(0) = "coqtop.byte" + then ignore (Toploop.use_silently Format.std_formatter "include") +*) + (* For OCaml 3.10.x: clflags.cmi (a ocaml compilation by-product) must be in the library path. On Debian, install ocaml-compiler-libs, and uncomment the following: -- cgit v1.2.3