aboutsummaryrefslogtreecommitdiff
path: root/dev/include_dune
blob: 2ef8eb4d04acc92474016e1f2bf59bd1ed5fe0d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(* File to include to install the pretty-printers in the ocaml toplevel *)

(* Typical usage :

   $ dune exec coqtop.byte # or even better : rlwrap coqtop.byte
   Coq < Drop.
   # #directory "dev";;
   # #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_dune";;
#use "base_include";;
#use "inc_ltac_dune";;
#use "include_printers";;