diff options
| author | Matthieu Sozeau | 2016-07-06 14:38:46 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2016-07-06 14:38:46 +0200 |
| commit | d0afde58b3320b65fc755cca5600af3b1bc9fa82 (patch) | |
| tree | f38db9d81d3646cfab19bded2dea746674fb6e80 /printing | |
| parent | 9a1eb2f4fefcc52f56785f20831e854bb626ae95 (diff) | |
| parent | df24a81b255190493281ffdeeef36754b076e9cd (diff) | |
Merge branch 'primproj' into v8.6
Diffstat (limited to 'printing')
| -rw-r--r-- | printing/prettyp.ml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/printing/prettyp.ml b/printing/prettyp.ml index 1f6e99c7e7..f71719cb9a 100644 --- a/printing/prettyp.ml +++ b/printing/prettyp.ml @@ -224,12 +224,12 @@ let print_type_in_type ref = let print_primitive_record recflag mipv = function | Some (Some (_, ps,_)) -> let eta = match recflag with - | Decl_kinds.CoFinite | Decl_kinds.Finite -> mt () - | Decl_kinds.BiFinite -> str " and has eta conversion" + | Decl_kinds.CoFinite | Decl_kinds.Finite -> str" without eta conversion" + | Decl_kinds.BiFinite -> str " with eta conversion" in - [pr_id mipv.(0).mind_typename ++ str" is primitive" ++ eta ++ str"."] + [pr_id mipv.(0).mind_typename ++ str" has primitive projections" ++ eta ++ str"."] | _ -> [] - + let print_primitive ref = match ref with | IndRef ind -> |
