| changeset 41423 | 25df154b8ffc |
| parent 40720 | b770df486e5c |
| child 42361 | 23f352990944 |
--- a/src/HOL/Tools/Function/size.ML Thu Dec 30 22:34:53 2010 +0100 +++ b/src/HOL/Tools/Function/size.ML Thu Dec 30 23:42:06 2010 +0100 @@ -42,7 +42,7 @@ NONE => Abs ("x", T, HOLogic.zero) | SOME t => t); -fun is_poly thy (DtType (name, dts)) = +fun is_poly thy (Datatype_Aux.DtType (name, dts)) = (case Datatype.get_info thy name of NONE => false | SOME _ => exists (is_poly thy) dts)