Compiling Haskell School of Expression's source code

I managed to solve my problems. I got to chapter 19 and I can’t manage to draw the coins (everything else seems to work). What could be wrong?