src/HOL/Tools/BNF/bnf_lfp_rec_sugar.ML
changeset 71214 5727bcc3c47c
parent 71179 592e2afdd50c
child 73977 2d8a0f8e30ec
equal deleted inserted replaced
71213:39ccdbbed539 71214:5727bcc3c47c
   635       |> the_default Plugin_Name.default_filter;
   635       |> the_default Plugin_Name.default_filter;
   636     val nonexhaustive = exists (can (fn Nonexhaustive_Option => ())) opts;
   636     val nonexhaustive = exists (can (fn Nonexhaustive_Option => ())) opts;
   637     val transfer = exists (can (fn Transfer_Option => ())) opts;
   637     val transfer = exists (can (fn Transfer_Option => ())) opts;
   638 
   638 
   639     val (fixes, specs) = fst (prep_spec raw_fixes raw_specs lthy);
   639     val (fixes, specs) = fst (prep_spec raw_fixes raw_specs lthy);
   640     val spec_name = Local_Theory.full_name lthy (Binding.conglomerate (map (#1 o #1) fixes));
   640     val spec_name = Binding.conglomerate (map (#1 o #1) fixes);
   641 
   641 
   642     val mk_notes =
   642     val mk_notes =
   643       flat oooo @{map 4} (fn js => fn prefix => fn qualify => fn thms =>
   643       flat oooo @{map 4} (fn js => fn prefix => fn qualify => fn thms =>
   644         let
   644         let
   645           val (bs, attrss) = map_split (fst o nth specs) js;
   645           val (bs, attrss) = map_split (fst o nth specs) js;