more (co)data docs
authorblanchet
Thu, 12 Sep 2013 00:34:48 +0200
changeset 53554 78fe0002024d
parent 53553 d4191bf88529
child 53555 12251bc889f1
more (co)data docs
src/Doc/Datatypes/Datatypes.thy
--- a/src/Doc/Datatypes/Datatypes.thy	Thu Sep 12 00:07:46 2013 +0200
+++ b/src/Doc/Datatypes/Datatypes.thy	Thu Sep 12 00:34:48 2013 +0200
@@ -514,7 +514,8 @@
 \noindent
 The main constituents of a constructor specification is the name of the
 constructor and the list of its argument types. An optional discriminator name
-can be supplied at the front to override the default name (@{text t.un_Cji}).
+can be supplied at the front to override the default name
+(@{text t.is_C\<^sub>j}).
 
 @{rail "
   @{syntax_def ctor_arg}: type | '(' name ':' type ')'
@@ -525,8 +526,8 @@
 \noindent
 In addition to the type of a constructor argument, it is possible to specify a
 name for the corresponding selector to override the default name
-(@{text t.un_C}$_{ij}$). The same selector names can be reused for several
-constructors as long as they have the same type.
+(@{text un_C\<^sub>ji}). The same selector names can be reused for several
+constructors as long as they share the same type.
 
 @{rail "
   @{syntax_def dt_sel_defaults}: '(' @'defaults' (name ':' term +) ')'