diff --git a/doc/cabal-package.rst b/doc/cabal-package.rst index 94b6027259361e56e1fc4dbf610aab936df561f2..774e9b13a00eaf4c8c898db91dc032ded383d379 100644 --- a/doc/cabal-package.rst +++ b/doc/cabal-package.rst @@ -1861,7 +1861,13 @@ system-dependent values for these fields. .. pkg-field:: default-language: identifier :since: 1.12 - TBW + Specifies a language standard or a group of language extensions to be activated for the project. In the case of GHC, `see here for details <https://downloads.haskell.org/ghc/latest/docs/users_guide/exts/control.html#controlling-extensions>`__. + + The possible values are: + + - ``GHC2021`` (only available for GHC version newer than ``9.2``) + - ``Haskell2010`` + - ``Haskell98`` .. pkg-field:: other-languages: identifier :since: 1.12