I'm trying to wrap my mind around the darcs source code as a preliminary
to looking into GHC's guts.  All of darcs is written as .lhs files which
have bizarre mark-up in them which distracts me from the actual Haskell
source I'm trying to figure out and get used to.  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.

Are there any tools which I can use to render .lhs files readable?  I'm
fine with having them converted into documented source (i.e. source code
embedded in documentation) or as pure Haskell source (but without the
huge whitespace gaps) -- but I can't figure out how to get either.

-- 
Michael T. Richter
Email: [EMAIL PROTECTED], [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED], [EMAIL PROTECTED]; YIM:
michael_richter_1966; AIM: YanJiahua1966; ICQ: 241960658; Jabber:
[EMAIL PROTECTED]

"I think it is very beautiful for the poor to accept their lot [...]. I
think the world is being much helped by the suffering of the poor
people." --Mother Theresa

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to