X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Chapters%2FPrototype.tex;h=73873bd2d2fd0115a142713cd2210de3f63d79aa;hp=7adcfcf5c19ef89dfa7eafee67705ef09936960d;hb=313351372e8c609c2875902d9c9a2b89f7c97032;hpb=344fd4d4338685c0bc2e66d395edb9409965c438 diff --git a/Chapters/Prototype.tex b/Chapters/Prototype.tex index 7adcfcf..73873bd 100644 --- a/Chapters/Prototype.tex +++ b/Chapters/Prototype.tex @@ -188,7 +188,7 @@ % Draw the objects (and deferred labels) drawObj (inp, front, desugar, simpl, back, out); \stopuseMPgraphic - \placefigure[right]{GHC compiler pipeline}{\useMPgraphic{ghc-pipeline}} + \placefigure[right]{GHC compiler pipeline}{\startboxed \useMPgraphic{ghc-pipeline}\stopboxed} \startdesc{Frontend} This step takes the Haskell source files and parses them into an @@ -279,7 +279,7 @@ % Draw the objects (and deferred labels) drawObj (inp, front, norm, vhdl, out); \stopuseMPgraphic - \placefigure[right]{Cλash compiler pipeline}{\useMPgraphic{clash-pipeline}} + \placefigure[right]{Cλash compiler pipeline}{\startboxed \useMPgraphic{clash-pipeline}\stopboxed} \startdesc{Frontend} This is exactly the frontend from the \small{GHC} pipeline, that @@ -902,9 +902,9 @@ needed. For example, consider the following state type (this is just the state type, not the entire function type): - \starttyping + \starthaskell State (State Bit, State (State Word, Bit), Word) - \stoptyping + \stophaskell We cannot leave all these \hs{State} type constructors out, since that would change the type (unlike when using type synonyms). However, when