Use PrettyPrint. Needs to be included in cabalfile