Cabal-1.4.0.1: A framework for packaging Haskell softwareContentsIndex
Distribution.Simple.PreProcess.Unlit
Portabilityportable
StabilityStable
MaintainerMalcolm Wallace <Malcolm.Wallace@cs.york.ac.uk>
Description
Remove the "literal" markups from a Haskell source file, including ">", "\begin{code}", "\end{code}", and "#"
Synopsis
unlit :: FilePath -> String -> Either String String
plain :: String -> String -> String
Documentation
unlit :: FilePath -> String -> Either String String
unlit takes a filename (for error reports), and transforms the given string, to eliminate the literate comments from the program text.
plain :: String -> String -> String
No unliteration.
Produced by Haddock version 0.8