equal
deleted
inserted
replaced
713 |
713 |
714 (* Response to interface queries about known objects *) |
714 (* Response to interface queries about known objects *) |
715 |
715 |
716 local |
716 local |
717 val topthy = Toplevel.theory_of o Toplevel.get_state |
717 val topthy = Toplevel.theory_of o Toplevel.get_state |
718 fun pthm thy name = print_thm (get_thm thy (name, NONE)) |
718 fun pthm thy name = print_thm (get_thm thy (Name name)) |
719 |
719 |
720 fun idvalue tp nm = ("idvalue",[("objtype",tp),("name",nm)]) |
720 fun idvalue tp nm = ("idvalue",[("objtype",tp),("name",nm)]) |
721 in |
721 in |
722 fun askids (NONE, SOME "theory") = send_thy_idtable NONE (ThyInfo.names()) |
722 fun askids (NONE, SOME "theory") = send_thy_idtable NONE (ThyInfo.names()) |
723 | askids (NONE, NONE) = send_thy_idtable NONE (ThyInfo.names()) |
723 | askids (NONE, NONE) = send_thy_idtable NONE (ThyInfo.names()) |