[Haskell-cafe] Mystery Parse Error in LHS file

John Millikin jmillikin at gmail.com
Thu May 6 11:29:27 EDT 2010


Bird-style LHS adds an implied layer of indentation, so it's difficult
to use both styles within the same file. You can run "ghc -E
starsystem.lhs; cat starsystem.hspp" to see what GHC is reading the
file as, after pre-processing.

But, **why** would you use both in the same file? The resulting code
can't easily be embedded into a TeX document, nor formatted properly
by email clients. There's no point to using both; just pick one.


More information about the Haskell-Cafe mailing list