HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulecpphs-1.20.9.1Haskell98

Language.Preprocessor.Unlit

Part of this code is from "Report on the Programming Language Haskell", version 1.2, appendix C.

  • 1 value
  • Packagecpphs-1.20.9.1
  • Exports1
  • LanguageHaskell98
  • LicenceLicenseRef-LGPL
  • SourceUnlit.hs
valueunlit :: FilePath -> String -> String
#

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