syntastic, ghcmod and hlint showed a bunch of errors and warnings that have been corrected