X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Chapters%2FPrototype.tex;h=870b7ccc0266e75930a09947b1c103cc9c5ddec2;hp=720053c4f83a6b818fc3416d464696d0d81f8d1c;hb=5d71d2a32828f0c589696ba07dea0867c7fcf988;hpb=efc1953cd015844a2d969a9c9b6e633569891033 diff --git a/Chapters/Prototype.tex b/Chapters/Prototype.tex index 720053c..870b7cc 100644 --- a/Chapters/Prototype.tex +++ b/Chapters/Prototype.tex @@ -911,7 +911,7 @@ We cannot leave all these \hs{State} type constructors out, since that would change the type (unlike when using type synonyms). However, when using type synonyms to hide away sub-states (see - \in{section}[sec:prototype:sub-statesynonyms] below), this + \in{section}[sec:prototype:substatesynonyms] below), this disadvantage should be limited. \subsubsection{Different input and output types} @@ -938,7 +938,7 @@ and output state types, possible reducing the type-safety of the descriptions. - \subsection[sec:prototype:sub-statesynonyms]{Type synonyms for sub-states} + \subsection[sec:prototype:substatesynonyms]{Type synonyms for sub-states} As noted above, when using nested (hierarchical) states, the state types of the \quote{upper} functions (those that call other functions, which call other functions, etc.) quickly become complicated. Also, when the