src/HOL/thy_data.ML
author paulson
Thu, 21 Mar 1996 13:02:26 +0100
changeset 1601 0ef6ea27ab15
parent 1465 5d7a7e439cec
child 1657 a7a6c3fb3cdd
permissions -rw-r--r--
Changes required by removal of the theory argument of Theorem

(*  Title:      HOL/thy_data.ML
    ID:         $Id$
    Author:     Carsten Clasohm
    Copyright   1995 TU Muenchen

Definitions that have to be reread after init_thy_reader has been invoked
*)

fun simpset_of tname =
  case get_thydata (theory_of tname) "simpset" of
      None => empty_ss
    | Some (SS_DATA ss) => ss;

fun datatypes_of tname =
  case get_thydata (theory_of tname) "datatypes" of
      None => []
    | Some (DT_DATA ds) => ds;