updated;
authorwenzelm
Fri, 19 Aug 2005 22:44:36 +0200
changeset 17134 ae56354155e4
parent 17133 096792bdc58e
child 17135 58f044289dca
updated;
doc-src/LaTeXsugar/Sugar/document/Sugar.tex
--- a/doc-src/LaTeXsugar/Sugar/document/Sugar.tex	Fri Aug 19 22:44:01 2005 +0200
+++ b/doc-src/LaTeXsugar/Sugar/document/Sugar.tex	Fri Aug 19 22:44:36 2005 +0200
@@ -178,7 +178,7 @@
 \endisadelimML
 \isamarkuptrue%
 %
-\isamarkupsubsection{Variable names%
+\isamarkupsubsection{Variable names\label{sec:varnames}%
 }
 \isamarkuptrue%
 %
@@ -315,15 +315,8 @@
 \isamarkuptrue%
 %
 \begin{isamarkuptext}%
-Sometimes functions ignore one or more of their
-  arguments and some functional languages have nice 
-  syntax for that as in \isa{hd\ {\isacharparenleft}x{\isasymcdot}\_{\isacharparenright}\ {\isacharequal}\ x}.
-
-  You can simulate this in Isabelle by instantiating the \isa{xs} in
-  definition \mbox{\isa{hd\ {\isacharparenleft}x{\isasymcdot}xs{\isacharparenright}\ {\isacharequal}\ x}} with a constant \isa{DUMMY} that
-  is printed as \isa{\_}. The code for the pattern above is 
-  \verb!@!\verb!{thm hd.simps [where xs=DUMMY]}!.
-
+In \S\ref{sec:varnames} we shows how to create patterns containing
+  ``\isa{\_}''.
   You can drive this game even further and extend the syntax of let
   bindings such that certain functions like \isa{fst}, \isa{hd}, 
   etc.\ are printed as patterns. \texttt{OptionalSugar} provides the
@@ -470,8 +463,7 @@
     \verb!@!\verb!{thm_style [show_types] concl hd_Cons_tl}!\\
     \verb!\end{center}!
   \end{quote}
-
-  Be aware that any options must be placed \emph{before}
+  Beware that any options must be placed \emph{before}
   the name of the style, as in this example.
 
   Further use cases can be found in \S\ref{sec:yourself}.