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

Patat.Presentation.Instruction

Description

The Pandoc AST is not extensible, so we need to use another way to model different parts of slides that we want to appear bit by bit.

We do this by modelling a slide as a list of instructions, that manipulate the contents on a slide in a (for now) very basic way.

Documentation

data Instructions a Source #

Instances

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

Defined in Patat.Presentation.Instruction

data Instruction a Source #

Constructors

Pause 
Append [a] 
Delete 
ModifyLast (Instruction a) 

Instances

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

Defined in Patat.Presentation.Instruction

newtype Fragment Source #

Constructors

Fragment [Block] 

Instances

Instances details
Show Fragment Source # 
Instance details

Defined in Patat.Presentation.Instruction