equal
deleted
inserted
replaced
63 |> YXML.string_of_body); |
63 |> YXML.string_of_body); |
64 val state2 = Document.execute new_id state1; |
64 val state2 = Document.execute new_id state1; |
65 in state2 end)); |
65 in state2 end)); |
66 |
66 |
67 val _ = |
67 val _ = |
|
68 Isabelle_Process.add_command "Isar_Document.remove_versions" |
|
69 (fn [versions_yxml] => Document.change_state (fn state => |
|
70 let |
|
71 val versions = |
|
72 YXML.parse_body versions_yxml |> |
|
73 let open XML.Decode in list int end; |
|
74 in Document.remove_versions versions state end)); |
|
75 |
|
76 val _ = |
68 Isabelle_Process.add_command "Isar_Document.invoke_scala" |
77 Isabelle_Process.add_command "Isar_Document.invoke_scala" |
69 (fn [id, tag, res] => Invoke_Scala.fulfill_method id tag res); |
78 (fn [id, tag, res] => Invoke_Scala.fulfill_method id tag res); |
70 |
79 |
71 end; |
80 end; |
72 |
81 |