[Haskell-cafe] Literate Haskell source files. How do I turn them into something I can read?

Tony Finch dot at dotat.at
Sat Dec 30 12:13:43 EST 2006


On Sat, 30 Dec 2006, Michael T. Richter wrote:

> Apparently the GHC compiler can take .lhs files, strip them with "unlit"
> (a utility which I finally found buried deep in the GHC installation --
> off-path) and then compile them normally.  The problem I have is that
> unlit leaves behind instead these huge gaping (and highly distracting)
> stretches of whitespace while it takes out the markup.

uniq will solve this part of your problem, but you're probably taking the
wrong approach to the wider problem.

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
CROMARTY FORTH TYNE: SOUTHWESTERLY 5 TO 7 OCCASIONALLY GALE 8 AT FIRST.
MODERATE OCCASIONALLY ROUGH. SHOWERS. GOOD.


More information about the Haskell-Cafe mailing list