src/HOL/Tools/record.ML
changeset 32748 887c68b70f7d
parent 32745 192d58483fdf
child 32749 3282c12a856c
equal deleted inserted replaced
32747:8b9ced1051e2 32748:887c68b70f7d
  1719       defs_thy
  1719       defs_thy
  1720       |> (PureThy.add_thms o map (Thm.no_attributes o apfst Binding.name))
  1720       |> (PureThy.add_thms o map (Thm.no_attributes o apfst Binding.name))
  1721            [("ext_inject", inject),
  1721            [("ext_inject", inject),
  1722             ("ext_induct", induct),
  1722             ("ext_induct", induct),
  1723             ("ext_surjective", surject),
  1723             ("ext_surjective", surject),
  1724             ("ext_split", split_meta),
  1724             ("ext_split", split_meta)]
  1725             ("ext_def", ext_def)]
       
  1726 
  1725 
  1727   in (thm_thy,extT,induct',inject',split_meta',ext_def')
  1726   in (thm_thy,extT,induct',inject',split_meta',ext_def')
  1728   end;
  1727   end;
  1729 
  1728 
  1730 fun chunks []      []   = []
  1729 fun chunks []      []   = []