Good Haskell Style

David Brown haskell2 at
Thu Aug 2 12:03:56 EDT 2007

Thomas Schilling wrote:

> The simplest thing I can think of, is to not remove whitespace at
> all, but to only remove it when you're saving the file.  I know that
> some modes use such a save hook.  It also wouldn't modify the actual
> file (ie, don't remove the whitespace until you save the file for
> the first time), as long as you edit it.  The only time the spaces
> would be removed permanently were if you save the file, close the
> buffer, and then re-open the file.

Picture mode removes trailing space when you exit it, so perhaps the
function that does that is available to call upon saving.


More information about the Libraries mailing list