src/Tools/Code/code_simp.ML
changeset 41346 6673f6fa94ca
parent 41251 1e6d86821718
child 42361 23f352990944
equal deleted inserted replaced
41344:d990badc97a3 41346:6673f6fa94ca
    66 
    66 
    67 (* evaluation with static code context *)
    67 (* evaluation with static code context *)
    68 
    68 
    69 fun static_conv thy some_ss consts =
    69 fun static_conv thy some_ss consts =
    70   Code_Thingol.static_conv_simple thy consts
    70   Code_Thingol.static_conv_simple thy consts
    71     (fn program => fn thy => fn _ => fn _ => rewrite_modulo thy some_ss program);
    71     (fn program => fn _ => fn _ => rewrite_modulo thy some_ss program);
    72 
    72 
    73 fun static_tac thy some_ss consts = CONVERSION (static_conv thy some_ss consts)
    73 fun static_tac thy some_ss consts = CONVERSION (static_conv thy some_ss consts)
    74   THEN' conclude_tac thy some_ss;
    74   THEN' conclude_tac thy some_ss;
    75 
    75 
    76 end;
    76 end;