Cabal-3.2.1.0: A framework for packaging Haskell software
Copyright ...
Maintainer cabal-devel@haskell.org
Portability portable
Safe Haskell None
Language Haskell2010

Distribution.Simple.PreProcess.Unlit

Description

Remove the "literal" markups from a Haskell source file, including " > ", " \begin{code} ", " \end{code} ", and " # "

Synopsis

Documentation

unlit :: FilePath -> String -> Either String String Source #

unlit takes a filename (for error reports), and transforms the given string, to eliminate the literate comments from the program text.