src/HOLCF/Tools/cont_proc.ML
changeset 26496 49ae9456eba9
parent 24043 9b156986a4e9
child 29047 059bdb9813c6
equal deleted inserted replaced
26495:dd8996960cb0 26496:49ae9456eba9
   136 in
   136 in
   137   fun cont_proc thy =
   137   fun cont_proc thy =
   138     Simplifier.simproc thy "cont_proc" ["cont f"] solve_cont;
   138     Simplifier.simproc thy "cont_proc" ["cont f"] solve_cont;
   139 end;
   139 end;
   140 
   140 
   141 val setup =
   141 fun setup thy = Simplifier.map_simpset (fn ss => ss addsimprocs [cont_proc thy]) thy;
   142   (fn thy =>
       
   143     (Simplifier.change_simpset_of thy
       
   144       (fn ss => ss addsimprocs [cont_proc thy]); thy));
       
   145 
   142 
   146 end;
   143 end;