HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-3.12.1.0Haskell2010

Distribution.Client.Init.FileCreators

Functions to create files during 'cabal init'.

  • 6 values

Commands

6 declarations
valuewriteLicense :: Interactive m => WriteOpts -> PkgDescription -> m ()
#

Write the LICENSE file.

For licenses that contain the author's name(s), the values are taken from the authors field of InitFlags, and if not specified will be the string "???".

If the license type is unknown no license file will be prepared and a warning will be raised.