src/HOLCF/ax_ops/thy_syntax.ML
author paulson
Wed, 27 Nov 1996 10:40:45 +0100
changeset 2238 c72a23bbe762
parent 1461 6bcb44e4d6e5
child 3609 5756c98ebf1f
permissions -rw-r--r--
Eta-expanded some declarations that are illegal under value polymorphism

(*  Title:      HOLCF/thy_syntax.ML
    ID:         $Id$
    Author:     Tobias Mayr

Installation of the additional theory file sections for HOLCF: axioms , ops 
There's an elaborate but german description of this extension
and a short english description of the new sections,
write to mayrt@informatik.tu-muenchen.de.

TODO:

*)

(* use "holcflogics.ML"; 
   use "thy_axioms.ML";
   use "thy_ops.ML";      should already have been done in ROOT.ML *)

structure ThySynData : THY_SYN_DATA =
struct

open HOLCFlogic;

val user_keywords = (*####*)filter_out (fn s => s mem (ThyAxioms.axioms_keywords@
                    ThyOps.ops_keywords)) (*####*)ThySynData.user_keywords @ 
                    ThyAxioms.axioms_keywords @ 
                    ThyOps.ops_keywords;

val user_sections = (*####*)filter_out (fn (s,_) => s mem (map fst (
                    ThyAxioms.axioms_sections@ ThyOps.ops_sections))) (*####*)
                      ThySynData.user_sections @
                    ThyAxioms.axioms_sections @
                    ThyOps.ops_sections;
end;

structure ThySyn = ThySynFun(ThySynData);
init_thy_reader ();