src/Pure/Tools/codegen_data.ML
changeset 21835 84fd5de0691c
parent 21708 45e7491bea47
child 21962 279b129498b6
equal deleted inserted replaced
21834:770ce948a59b 21835:84fd5de0691c
   737 fun preprocess thy thms =
   737 fun preprocess thy thms =
   738   thms
   738   thms
   739   |> fold (fn (_, f) => apply_preproc thy f) ((#preprocs o the_preproc o get_exec) thy)
   739   |> fold (fn (_, f) => apply_preproc thy f) ((#preprocs o the_preproc o get_exec) thy)
   740   |> map (rewrite_func ((#inlines o the_preproc o get_exec) thy))
   740   |> map (rewrite_func ((#inlines o the_preproc o get_exec) thy))
   741   |> fold (fn (_, f) => apply_inline_proc thy f) ((#inline_procs o the_preproc o get_exec) thy)
   741   |> fold (fn (_, f) => apply_inline_proc thy f) ((#inline_procs o the_preproc o get_exec) thy)
   742 (*FIXME - must check: rewrite rule, function equation, proper constant |> map (snd o check_func false thy)  *)
   742 (*FIXME - must check: rewrite rule, function equation, proper constant |> map (snd o check_func false thy) *)
   743   |> sort (cmp_thms thy)
   743   |> sort (cmp_thms thy)
   744   |> common_typ_funcs thy;
   744   |> common_typ_funcs thy;
   745 
   745 
   746 fun preprocess_cterm thy ct =
   746 fun preprocess_cterm thy ct =
   747   ct
   747   ct