doc-src/IsarAdvanced/Classes/Thy/document/Classes.tex
changeset 23015 e67f05cc0ac5
parent 22649 6cf96b9f7b9e
child 23956 48494ccfabaf
equal deleted inserted replaced
23014:00d8bf2fce42 23015:e67f05cc0ac5
   702 \begin{isamarkuptext}%
   702 \begin{isamarkuptext}%
   703 \noindent This maps to Haskell as:%
   703 \noindent This maps to Haskell as:%
   704 \end{isamarkuptext}%
   704 \end{isamarkuptext}%
   705 \isamarkuptrue%
   705 \isamarkuptrue%
   706 \isacommand{code{\isacharunderscore}gen}\isamarkupfalse%
   706 \isacommand{code{\isacharunderscore}gen}\isamarkupfalse%
   707 \ example\ {\isacharparenleft}Haskell\ {\isachardoublequoteopen}code{\isacharunderscore}examples{\isacharslash}{\isachardoublequoteclose}{\isacharparenright}%
   707 \ example\ \isakeyword{in}\ Haskell\ \isakeyword{file}\ {\isachardoublequoteopen}code{\isacharunderscore}examples{\isacharslash}{\isachardoublequoteclose}%
   708 \begin{isamarkuptext}%
   708 \begin{isamarkuptext}%
   709 \lsthaskell{Thy/code_examples/Classes.hs}
   709 \lsthaskell{Thy/code_examples/Classes.hs}
   710 
   710 
   711   \noindent (we have left out all other modules).
   711   \noindent (we have left out all other modules).
   712 
   712 
   713   \noindent The whole code in SML with explicit dictionary passing:%
   713   \noindent The whole code in SML with explicit dictionary passing:%
   714 \end{isamarkuptext}%
   714 \end{isamarkuptext}%
   715 \isamarkuptrue%
   715 \isamarkuptrue%
   716 \isacommand{code{\isacharunderscore}gen}\isamarkupfalse%
   716 \isacommand{code{\isacharunderscore}gen}\isamarkupfalse%
   717 \ example\ {\isacharparenleft}SML\ {\isachardoublequoteopen}code{\isacharunderscore}examples{\isacharslash}classes{\isachardot}ML{\isachardoublequoteclose}{\isacharparenright}%
   717 \ example\ \isakeyword{in}\ SML\ \isakeyword{file}\ {\isachardoublequoteopen}code{\isacharunderscore}examples{\isacharslash}classes{\isachardot}ML{\isachardoublequoteclose}%
   718 \begin{isamarkuptext}%
   718 \begin{isamarkuptext}%
   719 \lstsml{Thy/code_examples/classes.ML}%
   719 \lstsml{Thy/code_examples/classes.ML}%
   720 \end{isamarkuptext}%
   720 \end{isamarkuptext}%
   721 \isamarkuptrue%
   721 \isamarkuptrue%
   722 %
   722 %