Hackage allows one to retrieve "source". However, the so-called source code can't be used, because it is a colorized .html file, not .hs. Even if one wants to use only a snippet of what's on the screen, one must turn to the heavy artillery of Cabal to get it. Can there not be an option to retrieve plain text from Hackage without interposing the colorizer? Doug McIlroy
You can download the package from its page, although you'll have to apply metadata revisions by hand. Also, you can browse the package tarball which should give you raw text. On Sun, Mar 1, 2026 at 5:29 PM Douglas McIlroy < douglas.mcilroy@dartmouth.edu> wrote:
Hackage allows one to retrieve "source". However, the so-called source code can't be used, because it is a colorized .html file, not .hs. Even if one wants to use only a snippet of what's on the screen, one must turn to the heavy artillery of Cabal to get it.
Can there not be an option to retrieve plain text from Hackage without interposing the colorizer?
Doug McIlroy _______________________________________________ Haskell-Cafe mailing list -- haskell-cafe@haskell.org To (un)subscribe, modify options or view archives go to: Only members subscribed via the mailman list are allowed to post.
-- brandon s allbery kf8nh allbery.b@gmail.com
participants (2)
-
Brandon Allbery -
Douglas McIlroy