Prettify code to ensure compilation with -XNoMonomorphismRestriction
Merge pull request #2215 from lspitzner/nomomore

Prettify code to ensure compilation with -XNoMonomorphismRestriction