yi-editor/yi — pull request #464 by Fuuzetsu (2013-12-13 00:18:29+00:00)
Title: ghciLoadBuffer error message improvement

Previously calling ghciLoadBuffer in a buffer not bound to a filename would give us an unhelpful pattern match failure error. We now inform the user a bit better about what failed.

I remove trailing whitespace and a redundant import while I'm at it.