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

CabalGild.Type.Comment

Description

This module defines the Comment data type.

Synopsis

Documentation

data Comment a Source #

A comment with corresponding annotation. Leading blank space is preserved, but trailing blank space is not.

Constructors

Comment 

Fields

Instances

Instances details
Show a => Show (Comment a) Source # 
Instance details

Defined in CabalGild.Type.Comment

Methods

showsPrec :: Int -> Comment a -> ShowS #

show :: Comment a -> String #

showList :: [Comment a] -> ShowS #

Eq a => Eq (Comment a) Source # 
Instance details

Defined in CabalGild.Type.Comment

Methods

(==) :: Comment a -> Comment a -> Bool #

(/=) :: Comment a -> Comment a -> Bool #

delimiter :: ByteString Source #

The start of a comment, which is --.