From: Claudio Sacerdoti Coen Date: Wed, 29 Aug 2012 13:00:29 +0000 (+0000) Subject: Capitalization of variables bound in patterns fixed. X-Git-Tag: make_still_working~1516 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=446bec03de2d1e48ee612cd8020777aeeb7fbf06;p=helm.git Capitalization of variables bound in patterns fixed. --- diff --git a/matita/components/ng_kernel/nCicExtraction.ml b/matita/components/ng_kernel/nCicExtraction.ml index aa9e7bd8f..5690d1c9f 100644 --- a/matita/components/ng_kernel/nCicExtraction.ml +++ b/matita/components/ng_kernel/nCicExtraction.ml @@ -928,8 +928,11 @@ let pretty_print_term_context status ctx1 ctx2 = (fun el (ctx1,rev_res) -> match el with None -> ""@::ctx1,rev_res - | Some (name,`OfKind _) -> name@::ctx1,rev_res + | Some (name,`OfKind _) -> + let name = capitalize `TypeVariable name in + name@::ctx1,rev_res | Some (name,`OfType typ) -> + let name = capitalize `TypeVariable name in let name,ctx1 = name@:::ctx1 in name::ctx1, ("(" ^ name ^ " :: " ^ pretty_print_type status ctx1 typ ^ ")")::rev_res