Prettify code to ensure compilation with -XNoMonomorphismRestriction

had it enabled in .ghci, got errors. fix is simple and cleans up code.

(i'd bet there are more cases where `sequence` could shorten things..)