equal
deleted
inserted
replaced
162 fun constructors_of (Constructors (cos, _)) = (cos, false) |
162 fun constructors_of (Constructors (cos, _)) = (cos, false) |
163 | constructors_of (Abstractor ((co, (vs, ty)), _)) = ([(co, (vs, [ty]))], true); |
163 | constructors_of (Abstractor ((co, (vs, ty)), _)) = ([(co, (vs, [ty]))], true); |
164 |
164 |
165 fun case_consts_of (Constructors (_, case_consts)) = case_consts |
165 fun case_consts_of (Constructors (_, case_consts)) = case_consts |
166 | case_consts_of (Abstractor _) = []; |
166 | case_consts_of (Abstractor _) = []; |
|
167 |
167 |
168 |
168 (* functions *) |
169 (* functions *) |
169 |
170 |
170 datatype fun_spec = Eqns_Default of (thm * bool) list * (thm * bool) list lazy |
171 datatype fun_spec = Eqns_Default of (thm * bool) list * (thm * bool) list lazy |
171 (* (cache for default equations, lazy computation of default equations) |
172 (* (cache for default equations, lazy computation of default equations) |