break ch9.hs into multiple files