src/ZF/ex/TF.ML
changeset 477 53fc8ad84b33
parent 445 7b6d8b8d4580
child 486 6b58082796f6
equal deleted inserted replaced
476:836cad329311 477:53fc8ad84b33
     6 Trees & forests, a mutually recursive type definition.
     6 Trees & forests, a mutually recursive type definition.
     7 *)
     7 *)
     8 
     8 
     9 structure TF = Datatype_Fun
     9 structure TF = Datatype_Fun
    10  (val thy        = Univ.thy
    10  (val thy        = Univ.thy
       
    11   val thy_name   = "TF"
    11   val rec_specs  = [("tree", "univ(A)",
    12   val rec_specs  = [("tree", "univ(A)",
    12                        [(["Tcons"],  "[i,i]=>i",NoSyn)]),
    13                        [(["Tcons"],  "[i,i]=>i",NoSyn)]),
    13                     ("forest", "univ(A)",
    14                     ("forest", "univ(A)",
    14                        [(["Fnil"],   "i",NoSyn),
    15                        [(["Fnil"],   "i",NoSyn),
    15                         (["Fcons"],  "[i,i]=>i",NoSyn)])]
    16                         (["Fcons"],  "[i,i]=>i",NoSyn)])]