aboutsummaryrefslogtreecommitdiff
path: root/dev/include
blob: fa4bf827d77d7be54b7247166cab5a736a2274a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(* 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 :

   #directory "+compiler-libs";;
   if Filename.basename Sys.argv.(0) = "coqtop.byte"
   then ignore (Toploop.use_silently Format.std_formatter "dev/include")
*)

#cd ".";;
#use "incdir";;
#use "base_include";;
#use "inc_ltac";;
#use "include_printers";;