ideas for (co)datatype docs
authorblanchet
Thu, 22 Aug 2013 08:42:27 +0200
changeset 53136 98a2c33d5d1b
parent 53135 f08f66b55cb5
child 53137 a33298b49d9f
ideas for (co)datatype docs
src/Doc/Datatypes/Datatypes.thy
--- a/src/Doc/Datatypes/Datatypes.thy	Thu Aug 22 08:42:27 2013 +0200
+++ b/src/Doc/Datatypes/Datatypes.thy	Thu Aug 22 08:42:27 2013 +0200
@@ -729,11 +729,14 @@
          a + the_default Zero (option_map sum_btree lt) +
            the_default Zero (option_map sum_btree rt)"
 
+text {*
+Show example with function composition (ftree).
+*}
 
 subsubsection {* Nested-as-Mutual Recursion *}
 
 text {*
-  * can pretend a nested type is mutually recursive
+  * can pretend a nested type is mutually recursive (if purely inductive)
   * avoids the higher-order map
   * e.g.
 *}
@@ -994,6 +997,7 @@
 \verb|~~/src/HOL/BNF/More_BNFs.thy|.
 
 Mention distinction between live and dead type arguments;
+  * and existence of map, set for those
 mention =>.
 *}