X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Chapters%2FPrototype.tex;h=23168242ccc098c594b8ae291db2b80ccb04b5a8;hp=870b7ccc0266e75930a09947b1c103cc9c5ddec2;hb=HEAD;hpb=5d71d2a32828f0c589696ba07dea0867c7fcf988 diff --git a/Chapters/Prototype.tex b/Chapters/Prototype.tex index 870b7cc..2316824 100644 --- a/Chapters/Prototype.tex +++ b/Chapters/Prototype.tex @@ -496,7 +496,6 @@ of a case expression to normal form (evaluating any function applications, variable references and case expressions) is sufficient to decide which case alternatives should be chosen. - \todo{ref?} \stopframedtext } @@ -1302,11 +1301,10 @@ When applying these rules to the function \lam{avg} from \in{example}[ex:AvgStateNormal], we be left with the description - in \in{example}[ex:AvgStateRemoved]. All the parts that do not - generate any \VHDL\ directly are crossed out, leaving just the - actual flow of values in the final hardware. To illustrate the - change of the types of \lam{s} and \lam{s'}, their types are also - shown. + below. All the parts that do not generate any \VHDL\ directly are + crossed out, leaving just the actual flow of values in the final + hardware. To illustrate the change of the types of \lam{s} and \lam{s'}, + their types are also shown. \startbuffer[AvgStateRemoved] avg = iλ.λ--spacked.-- @@ -1327,8 +1325,7 @@ in res \stopbuffer - \placeexample[here][ex:AvgStateRemoved]{Normalized version of \in{example}[ex:AvgState] with ignored parts crossed out} - {\typebufferlam{AvgStateRemoved}} + \typebufferlam{AvgStateRemoved} When we actually leave out the crossed out parts, we get a slightly weird program: there is a variable \lam{s} which has no value, and there