equal
deleted
inserted
replaced
251 val ty0 = Type.strip_sorts ty; |
251 val ty0 = Type.strip_sorts ty; |
252 val ty' = map_atyps (K (TFree (Name.aT, [class]))) ty0; |
252 val ty' = map_atyps (K (TFree (Name.aT, [class]))) ty0; |
253 val syn = (the_default NoSyn o AList.lookup Binding.eq_name global_syntax) b; |
253 val syn = (the_default NoSyn o AList.lookup Binding.eq_name global_syntax) b; |
254 in |
254 in |
255 thy |
255 thy |
256 |> Sign.declare_const ((b, ty0), syn) |
256 |> Sign.declare_const_global ((b, ty0), syn) |
257 |> snd |
257 |> snd |
258 |> pair ((Variable.name b, ty), (c, ty')) |
258 |> pair ((Variable.name b, ty), (c, ty')) |
259 end; |
259 end; |
260 in |
260 in |
261 thy |
261 thy |