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

CabalGild.Action.RemovePositions

Synopsis

Documentation

run :: Applicative m => ([Field (p, [Comment p])], [Comment p]) -> m ([Field [Comment ()]], [Comment ()]) Source #

A wrapper around field to allow this to be composed with other actions.

field :: Field (p, [Comment p]) -> Field [Comment ()] Source #

Removes the positions from a field and its comments.

name :: Name (p, [Comment p]) -> Name [Comment ()] Source #

Removes the positions from a name and its comments.

fieldLines :: [FieldLine (p, [Comment p])] -> [FieldLine [Comment ()]] Source #

Removes the positions from field lines and their comments.

fieldLine :: FieldLine (p, [Comment p]) -> FieldLine [Comment ()] Source #

Removes the positions from a field line and its comments.

sectionArgs :: [SectionArg (p, [Comment p])] -> [SectionArg [Comment ()]] Source #

Removes the positions from some section arguments and their comments.

sectionArg :: SectionArg (p, [Comment p]) -> SectionArg [Comment ()] Source #

Removes the positions from a section argument and its comments.

comments :: [Comment p] -> [Comment ()] Source #

Removes the positions from some comments.

comment :: Comment p -> Comment () Source #

Removes the position from a comment.