be more explicit on type dlist
authorhaftmann
Sat, 12 Aug 2017 08:56:26 +0200
changeset 66405 82e2291cabff
parent 66404 7eb451adbda6
child 66407 7d3e4cedf824
be more explicit on type dlist
src/Doc/Codegen/Refinement.thy
--- a/src/Doc/Codegen/Refinement.thy	Sat Aug 12 08:56:25 2017 +0200
+++ b/src/Doc/Codegen/Refinement.thy	Sat Aug 12 08:56:26 2017 +0200
@@ -184,12 +184,15 @@
 text \<open>
   Datatype representation involving invariants require a dedicated
   setup for the type and its primitive operations.  As a running
-  example, we implement a type @{text "'a dlist"} of list consisting
+  example, we implement a type @{typ "'a dlist"} of lists consisting
   of distinct elements.
 
+  The specification of @{typ "'a dlist"} itself can be found in theory
+  @{theory Dlist}.
+
   The first step is to decide on which representation the abstract
-  type (in our example @{text "'a dlist"}) should be implemented.
-  Here we choose @{text "'a list"}.  Then a conversion from the concrete
+  type (in our example @{typ "'a dlist"}) should be implemented.
+  Here we choose @{typ "'a list"}.  Then a conversion from the concrete
   type to the abstract type must be specified, here:
 \<close>