```haskell > s = SLine 2 (SText 2 " " (SChar 'x' SEmpty)) > removeTrailingWhitespace s SLine 2 (SChar 'x' SEmpty) ```