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

Patat.Presentation

Synopsis

Documentation

data PresentationSettings Source #

These are patat-specific settings. That is where they differ from more general metadata (author, title...)

data VarGen Source #

Used to generate fresh variables.

Instances

Instances details
Show VarGen Source # 
Instance details

Defined in Patat.Presentation.Instruction

data Var Source #

A variable is like a placeholder in the instructions, something we don't know yet, dynamic content. Currently this is only used for code evaluation.

Instances

Instances details
Show Var Source # 
Instance details

Defined in Patat.Presentation.Instruction

Methods

showsPrec :: Int -> Var -> ShowS #

show :: Var -> String #

showList :: [Var] -> ShowS #

Eq Var Source # 
Instance details

Defined in Patat.Presentation.Instruction

Methods

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

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

Ord Var Source # 
Instance details

Defined in Patat.Presentation.Instruction

Methods

compare :: Var -> Var -> Ordering #

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

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

(>) :: Var -> Var -> Bool #

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

max :: Var -> Var -> Var #

min :: Var -> Var -> Var #

Hashable Var Source # 
Instance details

Defined in Patat.Presentation.Instruction

Methods

hashWithSalt :: Int -> Var -> Int #

hash :: Var -> Int #

data Size Source #

Instances

Instances details
Show Size Source # 
Instance details

Defined in Patat.Size

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

data Display Source #

Instances

Instances details
Show Display Source # 
Instance details

Defined in Patat.Presentation.Display

displayPresentationError :: Size -> Presentation -> String -> Doc Source #

Displays an error in the place of the presentation. This is useful if we want to display an error but keep the presentation running.