document size difference
authorblanchet
Mon, 15 Sep 2014 11:10:09 +0200
changeset 58336 a7add8066122
parent 58335 a5a3b576fcfb
child 58337 568fb4e382c9
document size difference
src/Doc/Datatypes/Datatypes.thy
--- a/src/Doc/Datatypes/Datatypes.thy	Mon Sep 15 10:49:07 2014 +0200
+++ b/src/Doc/Datatypes/Datatypes.thy	Mon Sep 15 11:10:09 2014 +0200
@@ -1065,6 +1065,11 @@
 functions, the old-style induction rule can be obtained by applying the
 @{text "[unfolded all_mem_range]"} attribute on @{text t.induct}.
 
+\item \emph{The @{const size} function has a slightly different definition.}
+The new function returns @{text 1} instead of @{text 0} for some nonrecursive
+constructors. This departure from the old behavior made it possible to implement
+@{const size} in terms of the parameterized function @{text "t.size_t"}.
+
 \item \emph{The internal constructions are completely different.} Proof texts
 that unfold the definition of constants introduced by \keyw{old_datatype} will
 be difficult to port.