--- a/src/HOL/Data_Structures/Define_Time_Function.ML Wed Aug 07 11:58:45 2024 +0200
+++ b/src/HOL/Data_Structures/Define_Time_Function.ML Wed Aug 07 12:50:22 2024 +0200
@@ -543,9 +543,9 @@
(* Print result if print *)
val _ = if not print then () else
let
- val nms = map (fst o dest_Const) term
+ val nms = map dest_Const_name term
val used = map (used_for_const orig_used) term
- val typs = map (snd o dest_Const) term
+ val typs = map dest_Const_type term
in
print_timing' print_ctxt { names=nms, terms=terms, typs=typs } { names=timing_names, terms=T_terms, typs=map (fn (used, typ) => change_typ' used 0 typ) (zip used typs) }
end