src/Pure/Isar/local_defs.ML
changeset 30434 9b94b1358b95
parent 30242 aea5d7fa7ef5
child 30473 e0b66c11e7e4
     1.1 --- a/src/Pure/Isar/local_defs.ML	Wed Mar 11 15:36:12 2009 +0100
     1.2 +++ b/src/Pure/Isar/local_defs.ML	Wed Mar 11 15:38:25 2009 +0100
     1.3 @@ -91,7 +91,7 @@
     1.4      val ((bvars, mxs), specs) = defs |> split_list |>> split_list;
     1.5      val ((bfacts, atts), rhss) = specs |> split_list |>> split_list;
     1.6      val xs = map Binding.name_of bvars;
     1.7 -    val names = map2 (Binding.map_name o Thm.def_name_optional) xs bfacts;
     1.8 +    val names = map2 Thm.def_binding_optional bvars bfacts;
     1.9      val eqs = mk_def ctxt (xs ~~ rhss);
    1.10      val lhss = map (fst o Logic.dest_equals) eqs;
    1.11    in