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

CabalGild.Unstable.Extra.Name

Synopsis

Documentation

annotation :: Name a -> a Source #

Extracts the annotation from the given Name.

annotationLens :: Lens' (Name a) a Source #

A lens for the annotation.

value :: Name a -> FieldName Source #

Extracts the value from the given Name.

isIf :: Name a -> Bool Source #

Returns true when the name is "if", false otherwise.

isElif :: Name a -> Bool Source #

Returns true when the name is "elif", false otherwise.

isElse :: Name a -> Bool Source #

Returns true when the name is "else", false otherwise.