cabal-gild-1.0.2.2: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Type.Extension

Synopsis

Documentation

newtype Extension Source #

This type exists to provide a different Ord instance for Extension. The instance provided by Cabal-syntax sorts things in a surprising order. This one sorts things alphabetically with "enable" extensions before "disable" ones.

Constructors

Extension 

Fields

isDisable :: Extension -> Bool Source #

Returns True if the given extension is either a DisableExtension or it's an UnknownExtension that starts with No followed by an uppercase letter.