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

CabalGild.Unstable.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.Unstable.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.Unstable.Type.Comment

Methods

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

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

delimiter :: ByteString Source #

The start of a comment, which is --.