patat-0.11.0.0: Terminal-based presentations using Pandoc
Safe HaskellSafe-Inferred
LanguageHaskell2010

Patat.Presentation.Comments

Synopsis

Documentation

data Comment Source #

Constructors

Comment 

Instances

Instances details
Monoid Comment Source # 
Instance details

Defined in Patat.Presentation.Comments

Semigroup Comment Source # 
Instance details

Defined in Patat.Presentation.Comments

Methods

(<>) :: Comment -> Comment -> Comment

sconcat :: NonEmpty Comment -> Comment

stimes :: Integral b => b -> Comment -> Comment

Show Comment Source # 
Instance details

Defined in Patat.Presentation.Comments

Methods

showsPrec :: Int -> Comment -> ShowS

show :: Comment -> String

showList :: [Comment] -> ShowS

parse :: Block -> Maybe Comment Source #

remove :: [Block] -> [Block] Source #

split :: [Block] -> (Comment, [Block]) Source #

Take all comments from the front of the list. Return those and the remaining blocks.

partition :: [Block] -> (Comment, [Block]) Source #

Partition the list into speaker notes and other blocks.

data SpeakerNotes Source #

Instances

Instances details
Monoid SpeakerNotes Source # 
Instance details

Defined in Patat.Presentation.Comments

Semigroup SpeakerNotes Source # 
Instance details

Defined in Patat.Presentation.Comments

Show SpeakerNotes Source # 
Instance details

Defined in Patat.Presentation.Comments

Methods

showsPrec :: Int -> SpeakerNotes -> ShowS

show :: SpeakerNotes -> String

showList :: [SpeakerNotes] -> ShowS

Eq SpeakerNotes Source # 
Instance details

Defined in Patat.Presentation.Comments

Methods

(==) :: SpeakerNotes -> SpeakerNotes -> Bool

(/=) :: SpeakerNotes -> SpeakerNotes -> Bool