diff options
| author | ppedrot | 2013-03-23 15:05:26 +0000 |
|---|---|---|
| committer | ppedrot | 2013-03-23 15:05:26 +0000 |
| commit | 914d19f19cd73d1794c0160bd6e7358c13eba630 (patch) | |
| tree | c60b68ddac62f60f1bef763ba970805d228180ad /printing/printer.ml | |
| parent | 7bc3e1ce35798d089a979f3cb5a4c5ecc232f850 (diff) | |
Minor code cleaning in CArray / CList.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16351 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'printing/printer.ml')
| -rw-r--r-- | printing/printer.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printer.ml b/printing/printer.ml index 8fc38bc6c8..ac7761994b 100644 --- a/printing/printer.ml +++ b/printing/printer.ml @@ -735,7 +735,7 @@ let print_one_inductive env mib ((_,i) as ind) = brk(0,2) ++ print_constructors envpar mip.mind_consnames cstrtypes let print_mutual_inductive env mind mib = - let inds = List.tabulate (fun x -> (mind,x)) (Array.length mib.mind_packets) + let inds = List.init (Array.length mib.mind_packets) (fun x -> (mind, x)) in hov 0 ( str (if mib.mind_finite then "Inductive " else "CoInductive ") ++ |
