src/Tools/Code/code_preproc.ML
changeset 34244 03f8dcab55f3
parent 34173 458ced35abb8
child 34251 cd642bb91f64
equal deleted inserted replaced
34237:225daff4323b 34244:03f8dcab55f3
   452 );
   452 );
   453 
   453 
   454 
   454 
   455 (** retrieval and evaluation interfaces **)
   455 (** retrieval and evaluation interfaces **)
   456 
   456 
   457 fun obtain thy cs ts = apsnd snd
   457 fun obtain theory cs ts = apsnd snd
   458   (Wellsorted.change_yield thy (extend_arities_eqngr thy cs ts));
   458   (Wellsorted.change_yield theory (fn thy => extend_arities_eqngr thy cs ts));
   459 
   459 
   460 fun gen_eval thy cterm_of conclude_evaluation evaluator proto_ct =
   460 fun gen_eval thy cterm_of conclude_evaluation evaluator proto_ct =
   461   let
   461   let
   462     val pp = Syntax.pp_global thy;
   462     val pp = Syntax.pp_global thy;
   463     val ct = cterm_of proto_ct;
   463     val ct = cterm_of proto_ct;