hindent-6.0.0: Extensible Haskell pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIndent.Language

Description

Operations for handling languages (e.g., Haskell2010).

Synopsis

Documentation

convertLanguage :: HasCallStack => Language -> Language Source #

This function converts a value of Language defined in the Cabal package to the same value of Language defined in the 'ghc-lib-parser' package.

This function raises an error if a UnknownLanguage value is passed.