src/Pure/proof_general.ML
changeset 16486 1a12cdb6ee6b
parent 16440 9b6e6d5fba05
child 16534 95460b6eb712
equal deleted inserted replaced
16485:77ae3bfa8b76 16486:1a12cdb6ee6b
   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())