distribution-opensuse-1.1.3: Types, functions, and tools to manipulate the openSUSE distribution
Safe HaskellNone
LanguageHaskell2010

OpenSuse.Types.ChangeLog

Synopsis

Documentation

newtype ChangeLog Source #

Constructors

ChangeLog [Entry] 

Instances

Instances details
Eq ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Ord ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Show ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Generic ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Associated Types

type Rep ChangeLog :: Type -> Type #

Semigroup ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Monoid ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

NFData ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

rnf :: ChangeLog -> () #

HasParser ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

parser :: forall st input (m :: Type -> Type). CharParser st input m ChangeLog #

type Rep ChangeLog Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

type Rep ChangeLog = D1 ('MetaData "ChangeLog" "OpenSuse.Types.ChangeLog" "distribution-opensuse-1.1.3-LaEhhDjNKwBGllhZZe05hY" 'True) (C1 ('MetaCons "ChangeLog" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Entry])))

data Entry Source #

Instances

Instances details
Eq Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

(==) :: Entry -> Entry -> Bool #

(/=) :: Entry -> Entry -> Bool #

Ord Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

compare :: Entry -> Entry -> Ordering #

(<) :: Entry -> Entry -> Bool #

(<=) :: Entry -> Entry -> Bool #

(>) :: Entry -> Entry -> Bool #

(>=) :: Entry -> Entry -> Bool #

max :: Entry -> Entry -> Entry #

min :: Entry -> Entry -> Entry #

Show Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

showsPrec :: Int -> Entry -> ShowS #

show :: Entry -> String #

showList :: [Entry] -> ShowS #

Generic Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Associated Types

type Rep Entry :: Type -> Type #

Methods

from :: Entry -> Rep Entry x #

to :: Rep Entry x -> Entry #

NFData Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

rnf :: Entry -> () #

HasParser Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

Methods

parser :: forall st input (m :: Type -> Type). CharParser st input m Entry #

type Rep Entry Source # 
Instance details

Defined in OpenSuse.Types.ChangeLog

type Rep Entry = D1 ('MetaData "Entry" "OpenSuse.Types.ChangeLog" "distribution-opensuse-1.1.3-LaEhhDjNKwBGllhZZe05hY" 'False) (C1 ('MetaCons "Entry" 'PrefixI 'True) (S1 ('MetaSel ('Just "changedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime) :*: (S1 ('MetaSel ('Just "changedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EMailAddress) :*: S1 ('MetaSel ('Just "changeDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

parseDateAddressLine :: CharParser st input m (UTCTime, EMailAddress) Source #

Note that the input must be terminated by a newline.

>>> parseTest parseDateAddressLine "Wed Jun 27 09:25:07 UTC 2018 - foo@example.org\n"
(2018-06-27 09:25:07 UTC,EMailAddress "foo@example.org")

parseDescription :: CharParser st input m String Source #

Consume all text until the end of the file or a dashed line is found. In the latter case, the dashed line is consumed as well. This is unfortunate, but it's how the notFollowedBy combinator works, unfortunately,