equal
deleted
inserted
replaced
8 |
8 |
9 structure List = Datatype_Fun |
9 structure List = Datatype_Fun |
10 (val thy = Univ.thy |
10 (val thy = Univ.thy |
11 val thy_name = "List" |
11 val thy_name = "List" |
12 val rec_specs = [("list", "univ(A)", |
12 val rec_specs = [("list", "univ(A)", |
13 [(["Nil"], "i", NoSyn), |
13 [(["Nil"], "i", NoSyn), |
14 (["Cons"], "[i,i]=>i", NoSyn)])] |
14 (["Cons"], "[i,i]=>i", NoSyn)])] |
15 val rec_styp = "i=>i" |
15 val rec_styp = "i=>i" |
16 val sintrs = ["Nil : list(A)", |
16 val sintrs = ["Nil : list(A)", |
17 "[| a: A; l: list(A) |] ==> Cons(a,l) : list(A)"] |
17 "[| a: A; l: list(A) |] ==> Cons(a,l) : list(A)"] |
18 val monos = [] |
18 val monos = [] |
19 val type_intrs = datatype_intrs |
19 val type_intrs = datatype_intrs |