src/HOL/Tools/recdef_package.ML
author wenzelm
Fri, 23 Jul 1999 16:50:55 +0200
changeset 7067 601f930d3739
parent 6851 526c0b90bcef
child 7262 a05dc63ca29b
permissions -rw-r--r--
replace assoc lists by Symtab.table;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     1
(*  Title:      HOL/Tools/recdef_package.ML
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     2
    ID:         $Id$
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     3
    Author:     Markus Wenzel, TU Muenchen
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     4
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     5
Wrapper module for Konrad Slind's TFL package.
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     6
*)
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     7
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     8
signature RECDEF_PACKAGE =
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
     9
sig
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    10
  val quiet_mode: bool ref
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    11
  val print_recdefs: theory -> unit
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    12
  val get_recdef: theory -> string -> {rules: thm list, induct: thm, tcs: term list}
6576
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    13
  val add_recdef: xstring -> string -> string list -> simpset option
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    14
    -> (xstring * Args.src list) list -> theory
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    15
    -> theory * {rules: thm list, induct: thm, tcs: term list}
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    16
  val add_recdef_i: xstring -> term -> term list -> simpset option
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    17
    -> (thm * theory attribute list) list
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    18
    -> theory -> theory * {rules: thm list, induct: thm, tcs: term list}
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    19
  val defer_recdef: xstring -> string list -> (xstring * Args.src list) list
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    20
    -> theory -> theory * {induct_rules: thm}
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    21
  val defer_recdef_i: xstring -> term list -> (thm * theory attribute list) list
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    22
    -> theory -> theory * {induct_rules: thm}
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    23
  val setup: (theory -> theory) list
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    24
end;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    25
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    26
structure RecdefPackage: RECDEF_PACKAGE =
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    27
struct
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    28
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    29
val quiet_mode = Tfl.quiet_mode;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    30
val message = Tfl.message;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    31
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    32
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    33
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    34
(** theory data **)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    35
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    36
(* data kind 'HOL/recdef' *)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    37
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    38
type recdef_info = {rules: thm list, induct: thm, tcs: term list};
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    39
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    40
structure RecdefArgs =
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    41
struct
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    42
  val name = "HOL/recdef";
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    43
  type T = recdef_info Symtab.table;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    44
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    45
  val empty = Symtab.empty;
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    46
  val copy = I;
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    47
  val prep_ext = I;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    48
  val merge: T * T -> T = Symtab.merge (K true);
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    49
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    50
  fun print sg tab =
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    51
    Pretty.writeln (Pretty.strs ("recdefs:" ::
6851
526c0b90bcef cond_extern_table;
wenzelm
parents: 6729
diff changeset
    52
      map #1 (Sign.cond_extern_table sg Sign.constK tab)));
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    53
end;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    54
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    55
structure RecdefData = TheoryDataFun(RecdefArgs);
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    56
val print_recdefs = RecdefData.print;
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    57
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    58
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    59
(* get and put data *)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    60
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    61
fun get_recdef thy name =
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    62
  (case Symtab.lookup (RecdefData.get thy, name) of
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    63
    Some info => info
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    64
  | None => error ("Unknown recursive function " ^ quote name));
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    65
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    66
fun put_recdef name info thy =
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    67
  let
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    68
    val tab = Symtab.update_new ((name, info), RecdefData.get thy)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    69
      handle Symtab.DUP _ => error ("Duplicate recursive function definition " ^ quote name);
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    70
  in RecdefData.put tab thy end;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    71
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    72
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    73
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    74
(** add_recdef(_i) **)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    75
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    76
fun requires_recdef thy = Theory.requires thy "Recdef" "recursive functions";
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    77
6576
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    78
fun gen_add_recdef tfl_fn prep_ss app_thms raw_name R eqs raw_ss raw_congs thy =
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    79
  let
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    80
    val name = Sign.intern_const (Theory.sign_of thy) raw_name;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    81
    val bname = Sign.base_name name;
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    82
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    83
    val _ = requires_recdef thy;
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    84
    val _ = message ("Defining recursive function " ^ quote name ^ " ...");
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    85
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    86
    val ss = (case raw_ss of None => Simplifier.simpset_of thy | Some x => prep_ss x);
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    87
    val (thy1, congs) = thy |> app_thms raw_congs;
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
    88
    val (thy2, pats) = tfl_fn thy1 name R eqs;
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    89
    val (result as {rules, induct, tcs}) = Tfl.simplify_defn (ss, congs) (thy2, (name, pats));
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    90
    val thy3 =
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    91
      thy2
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    92
      |> Theory.add_path bname
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    93
      |> PureThy.add_thmss [(("rules", rules), [])]
6576
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    94
      |> PureThy.add_thms [(("induct", induct), [])]
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
    95
      |> put_recdef name result
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    96
      |> Theory.parent_path;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    97
  in (thy3, result) end;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
    98
6576
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
    99
val add_recdef = gen_add_recdef Tfl.define I IsarThy.apply_theorems;
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
   100
val add_recdef_x = gen_add_recdef Tfl.define (Simplifier.simpset_of o ThyInfo.get_theory)
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
   101
  IsarThy.apply_theorems;
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
   102
val add_recdef_i = gen_add_recdef Tfl.define_i I IsarThy.apply_theorems_i;
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   103
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   104
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   105
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   106
(** defer_recdef(_i) **)
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   107
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   108
fun gen_defer_recdef tfl_fn app_thms raw_name eqs raw_congs thy =
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   109
  let
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   110
    val name = Sign.intern_const (Theory.sign_of thy) raw_name;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   111
    val bname = Sign.base_name name;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   112
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   113
    val _ = requires_recdef thy;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   114
    val _ = message ("Deferred recursive function " ^ quote name ^ " ...");
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   115
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   116
    val (thy1, congs) = thy |> app_thms raw_congs;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   117
    val (thy2, induct_rules) = tfl_fn thy1 name congs eqs;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   118
    val thy3 =
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   119
      thy2
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   120
      |> Theory.add_path bname
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   121
      |> PureThy.add_thms [(("induct_rules", induct_rules), [])]
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   122
      |> Theory.parent_path;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   123
  in (thy3, {induct_rules = induct_rules}) end;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   124
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   125
val defer_recdef = gen_defer_recdef Tfl.defer IsarThy.apply_theorems;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   126
val defer_recdef_i = gen_defer_recdef Tfl.defer_i IsarThy.apply_theorems_i;
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   127
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   128
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   129
6439
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   130
(** package setup **)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   131
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   132
(* setup theory *)
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   133
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   134
val setup = [RecdefData.init];
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   135
7eea9f25dc49 'HOL/recdef' theory data;
wenzelm
parents: 6429
diff changeset
   136
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   137
(* outer syntax *)
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   138
6723
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   139
local structure P = OuterParse and K = OuterSyntax.Keyword in
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   140
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   141
val recdef_decl =
6729
b6e167580a32 formal comments (still dummy);
wenzelm
parents: 6723
diff changeset
   142
  P.name -- P.term -- Scan.repeat1 (P.term --| P.marg_comment) --
6723
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   143
  Scan.optional (P.$$$ "(" |-- P.$$$ "congs" |-- P.!!! (P.xthms1 --| P.$$$ ")")) [] --
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   144
  Scan.option (P.$$$ "(" |-- P.$$$ "simpset" |-- P.!!! (P.name --| P.$$$ ")"))
6576
7e0b35bed503 add_recdef: removed names / attributes;
wenzelm
parents: 6557
diff changeset
   145
  >> (fn ((((f, R), eqs), congs), ss) => #1 o add_recdef_x f R eqs ss congs);
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   146
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   147
val recdefP =
6723
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   148
  OuterSyntax.command "recdef" "define general recursive functions (TFL)" K.thy_decl
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   149
    (recdef_decl >> Toplevel.theory);
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   150
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   151
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   152
val defer_recdef_decl =
6723
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   153
  P.name -- Scan.repeat1 P.term --
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   154
  Scan.optional (P.$$$ "(" |-- P.$$$ "congs" |-- P.!!! (P.xthms1 --| P.$$$ ")")) []
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   155
  >> (fn ((f, eqs), congs) => #1 o defer_recdef f eqs congs);
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   156
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   157
val defer_recdefP =
6723
f342449d73ca outer syntax keyword classification;
wenzelm
parents: 6576
diff changeset
   158
  OuterSyntax.command "defer_recdef" "defer general recursive functions (TFL)" K.thy_decl
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   159
    (defer_recdef_decl >> Toplevel.theory);
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   160
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   161
val _ = OuterSyntax.add_keywords ["congs", "simpset"];
6557
d7e7532c128a peoper defer_recdef interface;
wenzelm
parents: 6520
diff changeset
   162
val _ = OuterSyntax.add_parsers [recdefP, defer_recdefP];
6429
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   163
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   164
end;
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   165
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   166
9771ce553e56 Wrapper module for Konrad Slind's TFL package.
wenzelm
parents:
diff changeset
   167
end;