headroom-0.4.0.0: License Header Manager
Copyright(c) 2019-2021 Vaclav Svejcar
LicenseBSD-3-Clause
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.FileSupport.Haskell

Description

Support for Haskell source code files. This implementation extracts module name and Haddock fields as variables (see below). For more details about Haddock extraction, see Headroom.FileSupport.Haskell.Haddock module.

Extracted Variables for Templates

This implementation extracts following variables from source code file:

  • _haskell_module_copyright - Copyright field of Haddock module header
  • _haskell_module_license - License field of Haddock module header
  • _haskell_module_maintainer - Maintainer field of Haddock module header
  • _haskell_module_portability - Portability field of Haddock module header
  • _haskell_module_stability - Stability field of Haddock module header
  • _haskell_module_name - name of the Haskell module
  • _haskell_module_longdesc - long description of Haddock module
  • _haskell_module_shortdesc - Description field of Haddock module header

Extracted Custom Data

This implementation extracts custom data from used template, represented by the HaskellTemplateData' data type.

Synopsis

Documentation

fileSupport :: FileSupport Source #

Implementation of FileSupport for Haskell.