src/HOL/thy_data.ML
author clasohm
Mon, 05 Feb 1996 21:29:06 +0100
changeset 1476 608483c2122a
parent 1465 5d7a7e439cec
child 1657 a7a6c3fb3cdd
permissions -rw-r--r--
expanded tabs; incorporated Konrad's changes

(*  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;