aboutsummaryrefslogtreecommitdiffhomepage
path: root/kernel/term.ml
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-27 11:29:44 +0100
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2014-12-27 11:29:44 +0100
commit34ae79e9d9ee62e306c035e274428b16564b03b3 (patch)
tree00288bd98907e2403e825d1464793851e8c63127 /kernel/term.ml
parent3f4af783a249aab22d0d772bf21a0d5284aba407 (diff)
Revert "Term: include a function to print terms"
Such printer is already in Termops This reverts commit 5d6106a075b79abbb92b03bbca7b13a517cf4925.
Diffstat (limited to 'kernel/term.ml')
-rw-r--r--kernel/term.ml7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/term.ml b/kernel/term.ml
index 508d9b81a..3adfa5e37 100644
--- a/kernel/term.ml
+++ b/kernel/term.ml
@@ -679,10 +679,3 @@ let kind_of_type t = match kind_of_term t with
| Proj _ | Case _ | Fix _ | CoFix _ | Ind _)
-> AtomicType (t,[||])
| (Lambda _ | Construct _) -> failwith "Not a type"
-
-(* This is not dead code, it is there to have a constr printer available
- * everywhere *)
-let print_val, print_hook =
- Hook.make ~default:(fun x -> Pp.str"constr printer not installed") ()
-let print t = Hook.get print_val t
-