Cabal-1.8.0.2: A framework for packaging Haskell softwareSource codeContentsIndex
Distribution.Simple.PreProcess.Unlit
Portabilityportable
Maintainercabal-devel@haskell.org
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 StringSource
unlit takes a filename (for error reports), and transforms the given string, to eliminate the literate comments from the program text.
plain :: String -> String -> StringSource
No unliteration.
Produced by Haddock version 2.6.0