| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Patat.Presentation.Interactive
Description
Module that allows the user to interact with the presentation
Documentation
data PresentationCommand Source #
Constructors
| Exit | |
| Forward | |
| Backward | |
| SkipForward | |
| SkipBackward | |
| First | |
| Last | |
| Reload | |
| Seek Int | |
| UnknownCommand String |
Instances
| Eq PresentationCommand Source # | |
Defined in Patat.Presentation.Interactive Methods (==) :: PresentationCommand -> PresentationCommand -> Bool (/=) :: PresentationCommand -> PresentationCommand -> Bool | |
| Show PresentationCommand Source # | |
Defined in Patat.Presentation.Interactive Methods showsPrec :: Int -> PresentationCommand -> ShowS show :: PresentationCommand -> String showList :: [PresentationCommand] -> ShowS | |
readPresentationCommand :: Handle -> IO PresentationCommand Source #
data UpdatedPresentation Source #
Constructors
| UpdatedPresentation !Presentation | |
| ExitedPresentation | |
| ErroredPresentation String |
Instances
| Show UpdatedPresentation Source # | |
Defined in Patat.Presentation.Interactive Methods showsPrec :: Int -> UpdatedPresentation -> ShowS show :: UpdatedPresentation -> String showList :: [UpdatedPresentation] -> ShowS | |