src/ZF/ex/BT.ML
changeset 477 53fc8ad84b33
parent 445 7b6d8b8d4580
child 515 abcc438e7c27
equal deleted inserted replaced
476:836cad329311 477:53fc8ad84b33
     6 Datatype definition of binary trees
     6 Datatype definition of binary trees
     7 *)
     7 *)
     8 
     8 
     9 structure BT = Datatype_Fun
     9 structure BT = Datatype_Fun
    10  (val thy = Univ.thy;
    10  (val thy = Univ.thy;
       
    11   val thy_name = "BT";
    11   val rec_specs = 
    12   val rec_specs = 
    12       [("bt", "univ(A)",
    13       [("bt", "univ(A)",
    13 	  [(["Lf"],"i",NoSyn), 
    14 	  [(["Lf"],"i",NoSyn), 
    14            (["Br"],"[i,i,i]=>i", NoSyn)])];
    15            (["Br"],"[i,i,i]=>i", NoSyn)])];
    15   val rec_styp = "i=>i";
    16   val rec_styp = "i=>i";