Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module contains some Template Haskell powered functions, used by Headroom.Embedded module, that needs to be placed in separated module, due to GHC stage restriction.
Synopsis
- embedConfigFile :: Q Exp
- embedDefaultConfig :: Q Exp
- embedTemplate :: LicenseType -> FileType -> Q Exp
Documentation
embedConfigFile :: Q Exp Source #
Embeds stub configuration file to source code.
embedDefaultConfig :: Q Exp Source #
Embeds default configuration file to source code.
:: LicenseType | type of the license |
-> FileType | type of the source code file |
-> Q Exp | content of the appropriate template file |
Embeds template file to the source code.