summaryrefslogtreecommitdiff
path: root/dev/include
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2012-01-12 16:02:20 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2012-01-12 16:02:20 +0100
commit97fefe1fcca363a1317e066e7f4b99b9c1e9987b (patch)
tree97ec6b7d831cc5fb66328b0c63a11db1cbb2f158 /dev/include
parent300293c119981054c95182a90c829058530a6b6f (diff)
Imported Upstream version 8.4~betaupstream/8.4_beta
Diffstat (limited to 'dev/include')
-rw-r--r--dev/include23
1 files changed, 19 insertions, 4 deletions
diff --git a/dev/include b/dev/include
index 251a969b..69ac3c41 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:
@@ -14,7 +27,7 @@
#install_printer (* pp_stdcmds *) pppp;;
#install_printer (* pattern *) pppattern;;
-#install_printer (* rawconstr *) pprawconstr;;
+#install_printer (* glob_constr *) ppglob_constr;;
#install_printer (* constr *) ppconstr;;
#install_printer (* constr_substituted *) ppsconstr;;
@@ -24,12 +37,14 @@
#install_printer (* judgement *) ppj;;
#install_printer (* hint_db *) print_hint_db;;
+(*#install_printer (* hints_path *) pphintspath;;*)
#install_printer (* goal *) ppgoal;;
-#install_printer (* sigma goal *) ppsigmagoal;;
-#install_printer (* proof *) pproof;;
-#install_printer (* pftreestate *) pppftreestate;;
+(*#install_printer (* sigma goal *) ppsigmagoal;;*)
+(*#install_printer (* proof *) pproof;;*)
+#install_printer (* Goal.goal *) ppgoalgoal;;
#install_printer (* metaset.t *) ppmetas;;
#install_printer (* evar_map *) ppevm;;
+#install_printer (* ExistentialSet.t *) ppexistentialset;;
#install_printer (* clenv *) ppclenv;;
#install_printer (* env *) ppenv;;