aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/heads.ml
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-06-02 20:06:47 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-06-02 20:06:47 -0400
commit88fdd28815747520bdc555a2d1b8600e114ab341 (patch)
tree72a072bcbec7daf1add787bff594a418e1ebfde5 /library/heads.ml
parent6a67a0e30bdd96df994dd7d309d1f0d8cc22751f (diff)
Use Names.Constant.print
Diffstat (limited to 'library/heads.ml')
-rw-r--r--library/heads.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/heads.ml b/library/heads.ml
index 3adfe0fd2..6aee63c74 100644
--- a/library/heads.ml
+++ b/library/heads.ml
@@ -72,7 +72,7 @@ let kind_of_head env t =
with Not_found ->
CErrors.anomaly
Pp.(str "constant not found in kind_of_head: " ++
- str (Names.Constant.to_string cst) ++
+ Names.Constant.print cst ++
str "."))
| Construct _ | CoFix _ ->
if b then NotImmediatelyComputableHead else ConstructorHead