Carriage returns in a .cabal file

Ross Paterson ross at
Sun Sep 28 05:42:33 EDT 2008

On Sun, Sep 28, 2008 at 12:27:17AM -0700, Clifford Beshers wrote:
> The stb-image package on hackage has carriage returns (^M) at the end of some
> lines.  This confused from the Debian haskell-devscripts.  Are
> these characters legal in a .cabal file?

They are whitespace, and so allowed.  The library strips trailing
whitespace from all lines.

More information about the cabal-devel mailing list