equal
deleted
inserted
replaced
437 |
437 |
438 in Context.mapping I upd_prf ctxt end; |
438 in Context.mapping I upd_prf ctxt end; |
439 |
439 |
440 fun string_of_typ T = |
440 fun string_of_typ T = |
441 setmp_CRITICAL show_sorts true |
441 setmp_CRITICAL show_sorts true |
442 (PrintMode.setmp [] (Syntax.string_of_typ (ProofContext.init_global thy))) T; |
442 (Print_Mode.setmp [] (Syntax.string_of_typ (ProofContext.init_global thy))) T; |
443 val fixestate = (case state_type of |
443 val fixestate = (case state_type of |
444 NONE => [] |
444 NONE => [] |
445 | SOME s => |
445 | SOME s => |
446 let |
446 let |
447 val fx = Element.Fixes [(Binding.name s,SOME (string_of_typ stateT),NoSyn)]; |
447 val fx = Element.Fixes [(Binding.name s,SOME (string_of_typ stateT),NoSyn)]; |