#440 refactoring posts.hs: remove unused functions