Move chapter 7 material from haskell.hs to chapter7.hs