headergen: Creates a header for a haskell source file.

[ development, mit, program ] [ Propose Tags ]

The headergen application can generate source file headers with default values configured for a specific project. It features a full templating engine under the hood and can be highly customized.

[Skip to Readme]
Versions [faq],,,
Change log changelog.md
Dependencies aeson (>= && <0.10), aeson-pretty (>=0.7.2 && <0.8), base (==4.8.*), bytestring (>=0.10.6 && <0.17), directory (>=1.2.2 && <1.3), filepath (==1.4.*), haskeline (>= && <0.8), time (>= && <1.6) [details]
License MIT
Copyright (c) 2015 Nils 'bash0r' Jonsson
Author Nils 'bash0r' Jonsson
Maintainer aka.bash0r@gmail.com
Category Development
Home page https://github.com/aka-bash0r/headergen
Source repo head: git clone https://github.com/aka-bash0r/headergen
this: git clone https://github.com/aka-bash0r/headergen(tag
Uploaded by bash0r at 2015-07-30T08:21:34Z
Distributions NixOS:
Executables headergen
Downloads 2214 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-11-13 [all 7 reports]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for headergen-

[back to package description]


An application written in Haskell for generating headers for Haskell source files.


Usage: headergen {help [all|COMMAND]|init|create LANGUAGE TEMPLATE MODULE}

headergen create LANGUAGE TEMPLATE MODULE </br> * creates a new module in current working directory. </br> headergen init </br> * initializes a new .headergen.def. </br> headergen help </br> * shows this help information </br> headergen help COMMAND </br> * shows detailed help information

Supported Languages

As for now only Haskell is supported. It is planned to implement support for more languages in future releases.


  • Extract help message interface from command module level to avoid mutual recursion over module level.
  • Implement reading of cabal files instead of using own setting files.
  • Implement a parser for updating existing source files.
  • Implement reading of file associations from file.
  • Implement support for more languages.